def __init__(self): '''Construct a new service data object ''' Object.__init__( self, Object.SDServiceData, apitype=Object.JobAPI, ) AttributeInterface.__init__(self)
def __init__(self): '''Create a new, empty job description.''' Object.__init__( self, Object.JobDescription, apitype=Object.JobAPI, ) AttributeInterface.__init__(self) self._executable = None self._arguments = None self._environment = None self._file_transfer = None self._project = None self._output = None self._error = None self._queue = None self._wall_time_limit = None self._working_directory = None self._contact = None self._total_cpu_count = None self._number_of_processes = None self._spmd_variation = None # register properties with the attribute interface self._register_rw_attribute(name="Executable", accessor=self.__class__.executable) self._register_rw_attribute(name="Output", accessor=self.__class__.output) self._register_rw_attribute(name="Error", accessor=self.__class__.error) self._register_rw_attribute(name="Queue", accessor=self.__class__.queue) self._register_rw_attribute(name="WallTimeLimit", accessor=self.__class__.wall_time_limit) self._register_rw_attribute(name="WorkingDirectory", accessor=self.__class__.working_directory) self._register_rw_attribute(name="Contact", accessor=self.__class__.contact) self._register_rw_attribute(name="TotalCPUCount", accessor=self.__class__.total_cpu_count) self._register_rw_attribute( name="NumberOfProcesses", accessor=self.__class__.number_of_processes) self._register_rw_attribute(name="SPMDVariation", accessor=self.__class__.spmd_variation) self._register_rw_vec_attribute(name="Arguments", accessor=self.__class__.arguments) self._register_rw_vec_attribute(name="FileTransfer", accessor=self.__class__.file_transfer) self._register_rw_vec_attribute(name="Environment", accessor=self.__class__.environment) self._register_rw_vec_attribute(name="JobProject", accessor=self.__class__.project)
def __init__(self): '''Create a new, empty job description.''' Object.__init__(self, Object.JobDescription, apitype=Object.JobAPI,) AttributeInterface.__init__(self) self._executable = None self._arguments = None self._environment = None self._file_transfer = None self._project = None self._output = None self._error = None self._queue = None self._wall_time_limit = None self._working_directory = None self._contact = None self._total_cpu_count = None self._number_of_processes = None self._spmd_variation = None # register properties with the attribute interface self._register_rw_attribute (name="Executable", accessor=self.__class__.executable) self._register_rw_attribute (name="Output", accessor=self.__class__.output) self._register_rw_attribute (name="Error", accessor=self.__class__.error) self._register_rw_attribute (name="Queue", accessor=self.__class__.queue) self._register_rw_attribute (name="WallTimeLimit", accessor=self.__class__.wall_time_limit) self._register_rw_attribute (name="WorkingDirectory", accessor=self.__class__.working_directory) self._register_rw_attribute (name="Contact", accessor=self.__class__.contact) self._register_rw_attribute (name="TotalCPUCount", accessor=self.__class__.total_cpu_count) self._register_rw_attribute (name="NumberOfProcesses", accessor=self.__class__.number_of_processes) self._register_rw_attribute (name="SPMDVariation", accessor=self.__class__.spmd_variation) self._register_rw_vec_attribute (name="Arguments", accessor=self.__class__.arguments) self._register_rw_vec_attribute (name="FileTransfer", accessor=self.__class__.file_transfer) self._register_rw_vec_attribute (name="Environment", accessor=self.__class__.environment) self._register_rw_vec_attribute (name="JobProject", accessor=self.__class__.project)
def __init__(self): '''PRIVATE Constructor (don't call explicitly!)''' Object.__init__(self, Object.Job, apitype=Object.JobAPI) AttributeInterface.__init__(self) # register properties with the attribute interface self._register_ro_attribute(name="Exitcode", accessor=self.__class__.exitcode) self._register_ro_attribute(name="JobID", accessor=self.__class__.jobid) self._register_ro_attribute(name="ServiceURL", accessor=self.__class__.serviceurl)
def __init__(self): '''PRIVATE Constructor (don't call explicitly!)''' Object.__init__(self, Object.Job, apitype=Object.JobAPI) AttributeInterface.__init__(self) # register properties with the attribute interface self._register_ro_attribute (name="Exitcode", accessor=self.__class__.exitcode) self._register_ro_attribute (name="JobID", accessor=self.__class__.jobid) self._register_ro_attribute (name="ServiceURL", accessor=self.__class__.serviceurl)
def __init__(self): """Constructor.""" Object.__init__(self, Object.SDServiceDescription, apitype=Object.JobAPI) AttributeInterface.__init__(self) self._url = None self._type = None self._uid = None self._site = None self._name = None self._apiementor = None # register properties with the attribute interface self._register_ro_attribute(name="URL", accessor=self.__class__.url) self._register_ro_attribute(name="UID", accessor=self.__class__.uid) self._register_ro_attribute(name="Type", accessor=self.__class__.type) self._register_ro_attribute(name="Site", accessor=self.__class__.site) self._register_ro_attribute(name="Name", accessor=self.__class__.name) self._register_ro_attribute(name="Implementor", accessor=self.__class__.implementor)
def __init__(self): '''Constructor''' self._type = None self._userid = None self._userpass = None self._usercert = None self._userkey = None self._userproxy = None AttributeInterface.__init__(self) # register properties with the attribute interface self._register_rw_attribute (name="Type", accessor=self.__class__.type) self._register_rw_attribute (name="UserID", accessor=self.__class__.userid) self._register_rw_attribute (name="UserPass", accessor=self.__class__.userpass) self._register_rw_attribute (name="UserCert", accessor=self.__class__.usercert) self._register_rw_attribute (name="UserKey", accessor=self.__class__.userkey) self._register_rw_attribute (name="UserProxy", accessor=self.__class__.userproxy)
def __init__(self): '''Constructor.''' Object.__init__( self, Object.SDServiceDescription, apitype=Object.JobAPI, ) AttributeInterface.__init__(self) self._url = None self._type = None self._uid = None self._site = None self._name = None self._apiementor = None # register properties with the attribute interface self._register_ro_attribute(name="URL", accessor=self.__class__.url) self._register_ro_attribute(name="UID", accessor=self.__class__.uid) self._register_ro_attribute(name="Type", accessor=self.__class__.type) self._register_ro_attribute(name="Site", accessor=self.__class__.site) self._register_ro_attribute(name="Name", accessor=self.__class__.name) self._register_ro_attribute(name="Implementor", accessor=self.__class__.implementor)
def __init__(self): '''Construct a new service data object ''' Object.__init__(self, Object.SDServiceData, apitype=Object.JobAPI,) AttributeInterface.__init__(self)