def __init__(self, pathToFile, api_token, team_token, notes): CommandBase.__init__(self) assert pathToFile is not None self.__pathToFile = pathToFile self.__publisher = TestFlightPublisher(api_token, team_token, notes)
def __init__(self, slnPath, projectNames): CommandBase.__init__(self) assert slnPath is not None assert projectNames is not None self.__slnPath = slnPath self.projectNames = projectNames
def __init__(self, pathToManifest, key, value): CommandBase.__init__(self) assert pathToManifest is not None assert key is not None assert value is not None self.pathToManifest = pathToManifest self.key = key self.value = value
def __init__(self, pathToPlist, key, value): CommandBase.__init__(self) assert pathToPlist is not None assert key is not None assert value is not None self.__pathToPlist = pathToPlist self.__key = key self.__value = value
def __init__(self, csprojAbsPath, key, value, slnConfig): CommandBase.__init__(self) assert csprojAbsPath is not None assert key is not None assert value is not None assert slnConfig is not None self.__csprojAbsPath = csprojAbsPath self.__key = key self.__value = value self.__slnConfig = slnConfig
def __init__(self, ignoreBackup): CommandBase.__init__(self) assert ignoreBackup is not None self.backupIgnore = ['.git', '.gitignore', '.DS_Store', 'backup'] self.backupIgnore.extend(ignoreBackup) self.folderPath = '.' # вычислять абсолютные пути надо на этапе создания комманды # поскольку на этапе выполнения текущая директория может быть удалена self.srcAbsDirPath = self.getAbsSrc() self.backupDirAbsPath = self.getAbsDst()
def __init__(self): CommandBase.__init__(self)
def __init__(self, copyArguments): CommandBase.__init__(self) assert copyArguments is not None self.__copyArguments = copyArguments