ecflow.ChildCmdType

class ecflow.ChildCmdType

Bases: enum

ChildCmdType represents the different child commands. This type is used as a parameter to the class ecflow.ZombieAttr

Child commands are called within a job file:

ChildCmdType::init     corresponds to : ecflow_client --init=<process_id>
ChildCmdType::event    corresponds to : ecflow_client --event=<event_name | number>
ChildCmdType::meter    corresponds to : ecflow_client --meter=<meter_name>, <meter_value>
ChildCmdType::label    corresponds to : ecflow_client --label=<label_name>. <label_value>
ChildCmdType::wait     corresponds to : ecflow_client --wait=<expression>
ChildCmdType::abort    corresponds to : ecflow_client --abort=<reason>
ChildCmdType::complete corresponds to : ecflow_client --complete
ChildCmdType.abort = ecflow.ChildCmdType.abort
ChildCmdType.complete = ecflow.ChildCmdType.complete
ChildCmdType.event = ecflow.ChildCmdType.event
ChildCmdType.init = ecflow.ChildCmdType.init
ChildCmdType.label = ecflow.ChildCmdType.label
ChildCmdType.meter = ecflow.ChildCmdType.meter
ChildCmdType.names = {'abort': ecflow.ChildCmdType.abort, 'complete': ecflow.ChildCmdType.complete, 'event': ecflow.ChildCmdType.event, 'init': ecflow.ChildCmdType.init, 'label': ecflow.ChildCmdType.label, 'meter': ecflow.ChildCmdType.meter, 'queue': ecflow.ChildCmdType.queue, 'wait': ecflow.ChildCmdType.wait}
ChildCmdType.queue = ecflow.ChildCmdType.queue
ChildCmdType.values = {0: ecflow.ChildCmdType.init, 1: ecflow.ChildCmdType.event, 2: ecflow.ChildCmdType.meter, 3: ecflow.ChildCmdType.label, 4: ecflow.ChildCmdType.wait, 5: ecflow.ChildCmdType.queue, 6: ecflow.ChildCmdType.abort, 7: ecflow.ChildCmdType.complete}
ChildCmdType.wait = ecflow.ChildCmdType.wait