#NEWLINE# def __init__( self , id , runner , arguments = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , validationExpression = 'VAL_TRUE' , taskName = '' , relativePathToLogDir = '' , message = '' , environment = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , runnerPackages = None , watcherPackages = None ) : #NEWLINE# #INDENT# '\n        :param id: command id\n        :param arguments: command arguments as a dict\n        :param validationExpression: -\n        :param taskName: a string representing the parent task name\n        :param relativePathToLogDir: relative path to log\n        :param message:\n        :param environment: A dict of env vars which will be added to current os.environ\n        ' #NEWLINE# self . status = CMD_RUNNING #NEWLINE# self . id = id #NEWLINE# self . completion = 0 #NEWLINE# self . arguments = arguments . copy ( ) #NEWLINE# self . runner = runner #NEWLINE# self . validationExpression = validationExpression #NEWLINE# self . validatorMessage = None #NEWLINE# self . errorInfos = None #NEWLINE# self . taskName = taskName #NEWLINE# self . relativePathToLogDir = taskName #NEWLINE# self . message = message #NEWLINE# self . environment = os . environ . copy ( ) #NEWLINE# self . environment . update ( environment ) #NEWLINE# self . runnerPackages = runnerPackages #NEWLINE# self . watcherPackages = watcherPackages