예제 #1
0
 def __init__ (self):
     """
     Initializes plugin related attributes described above
     """
     EDAction.__init__(self)
     self.__xsPluginItem = None
     self.__dictXSDataInputClass = {}
     self.__dictXSDataInput = {}
     self.__dictXSDataOutput = {}
     self.__strDefaultInputDataKey = "defaultInputData"
     self.__strDefaultOutputDataKey = "defaultOutputData"
     self.__edSlotExportDataOutput = EDSlot()
     self.__strBaseDirectory = None
     self.__strWorkingDirectory = None
     self.__strBaseName = None
     self.__listExecutiveSummaryLines = []
     self.__strExecutiveSummarySeparator = "-" * 80
     self.__listErrorMessages = []
     self.__listWarningMessages = []
     self.__isRequiredToHaveConfiguration = False
     self.__bWriteDataXMLInputOutput = True
     self.__bWriteDataXMLOutput = True
     self.__bWriteDataXMLInput = True
     self.__strPluginId = "%s-%08i" % (self.getClassName(), self.getId())
     self.strPathDataInput = None
     self.strPathDataOutput = None
예제 #2
0
파일: EDPlugin.py 프로젝트: yayahjb/edna-mx
 def __init__(self):
     """
     Initializes plugin related attributes described above
     """
     EDAction.__init__(self)
     self.__xsPluginItem = None
     self.__dictXSDataInputClass = {}
     self.__dictXSDataInput = {}
     self.__dictXSDataOutput = {}
     self.__strDefaultInputDataKey = "defaultInputData"
     self.__strDefaultOutputDataKey = "defaultOutputData"
     self.__edSlotExportDataOutput = EDSlot()
     self.__strBaseDirectory = None
     self.__strWorkingDirectory = None
     self.__strBaseName = None
     self.__listExecutiveSummaryLines = []
     self.__strExecutiveSummarySeparator = "-" * 80
     self.__listErrorMessages = []
     self.__listWarningMessages = []
     self.__isRequiredToHaveConfiguration = False
     self.__bWriteDataXMLInputOutput = True
     self.__bWriteDataXMLOutput = True
     self.__bWriteDataXMLInput = True
     self.__strPluginId = "%s-%08i" % (self.getClassName(), self.getId())
     self.strPathDataInput = None
     self.strPathDataOutput = None
     self.__bUseWarningInsteadOfError = False
     self.__edConfiguration = EDConfigurationStatic()
 def __init__(self, _strCommand):
     """
     Initializes the class: the argument _strCommand should be
     the complete command line, i.e. path to executable + command line arguments
     """
     EDAction.__init__(self)
     self.__strCommand = _strCommand
     self.__strExecutionStatus = None
     self.__subprocess = None
     self.__iPID = None
예제 #4
0
 def __init__(self, _strCommand):
     """
     Initializes the class: the argument _strCommand should be
     the complete command line, i.e. path to executable + command line arguments
     """
     EDAction.__init__(self)
     self.__strCommand = _strCommand
     self.__strExecutionStatus = None
     self.__subprocess = None
     self.__iPID = None
예제 #5
0
 def __init__(self, _iNoThreads=None):
     """
     Initalises the action cluster. The max number of threads to be used can be forced,
     if omitted the number of processors number of threads  
     @param _iNoThreads: max number of threads to be used
     @type  _iNoThreads: integer        
     """
     EDAction.__init__(self)
     self.__iNoThreads = _iNoThreads
     self.__semaphoreActionCluster = None
     self.__lActions = []
예제 #6
0
 def __init__(self, _iNoThreads=None):
     """
     Initalises the action cluster. The max number of threads to be used can be forced,
     if omitted the number of processors number of threads  
     @param _iNoThreads: max number of threads to be used
     @type  _iNoThreads: integer        
     """
     EDAction.__init__(self)
     self.__iNoThreads = _iNoThreads
     self.__semaphoreActionCluster = None
     self.__lActions = []