public class WorkflowRun extends NamedObj
Modifier and Type | Class and Description |
---|---|
static class |
WorkflowRun.RunAttribute |
static class |
WorkflowRun.type |
NamedObj.ContainedObjectsIterator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FILENAME_EXTENSION |
static org.apache.commons.logging.Log |
log |
static java.lang.String |
RUN_DATE_FORMAT |
static java.lang.String |
TAG_TYPE_RUN |
static java.lang.String |
TAG_TYPE_WORKFLOW |
static java.lang.String |
WORKFLOWRUN_SELECTED |
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
Constructor and Description |
---|
WorkflowRun() |
WorkflowRun(KeplerLSID runlsid,
java.lang.String referralList,
java.lang.String theUser,
java.lang.String workflowName,
KeplerLSID wfLSID,
java.util.Date start,
java.lang.Long dur,
java.lang.Integer execid,
java.util.Map<java.lang.Integer,java.lang.String> errorMsgs,
java.lang.String host_id,
java.lang.String anno,
java.lang.String module_dependencies,
java.lang.String type,
java.util.Map<NamedOntClass,java.lang.String> tagsList)
Constructor.
|
WorkflowRun(Workspace workspace,
java.lang.String string) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
_description(int detail,
int indent,
int bracket)
Return a description of the object.
|
java.lang.String |
getAnnotation()
Get the WorkflowRun annotation.
|
java.lang.Long |
getDuration()
Get the duration in Seconds of the WorkflowRun.
|
java.lang.String |
getElementName()
Get the MoML element name.
|
java.util.Map<java.lang.Integer,java.lang.String> |
getErrorMessages() |
java.lang.Integer |
getExecId()
Return the execution ID.
|
KeplerLSID |
getExecLSID() |
java.lang.String |
getHostId() |
java.lang.String |
getModuleDependencies()
Get the WorkflowRun module-dependencies.
|
java.util.List<KeplerLSID> |
getReferralList() |
java.util.Date |
getStartTime() |
java.lang.String |
getStartTimeISO8601() |
java.util.Map<NamedOntClass,java.lang.String> |
getTags() |
java.lang.String |
getTagsAsFormattedString() |
java.lang.String |
getType() |
java.lang.String |
getUser() |
KeplerLSID |
getWorkflowLSID()
Return the LSID of the workflow that this WorkflowRun was generated from.
|
java.lang.String |
getWorkflowName()
Return the name of the workflow that this run was generated from.
|
java.util.Vector<SemanticType> |
getWorkflowSemanticTypes() |
void |
resetExecId(int newExecId,
Recording r)
Assign new execId to a run, and entityId revision.
|
void |
resetType(java.lang.String workflowRunType,
Recording r) |
void |
rollRevision(KeplerLSID lsid,
Recording recording)
Whenever a run is changed, update revision in OM,
update run's execLSID, and update workflow_exec lsid in provenance.
|
void |
setName(java.lang.String name)
Set or change the name.
|
java.lang.String |
toString()
Return the class name and the full name of the object,
with syntax "className {fullName}".
|
_addAttribute, _adjustOverride, _attachText, _cloneFixAttributeFields, _containedDecorators, _copyChangeRequestList, _debug, _debug, _debug, _debug, _debug, _executeChangeRequests, _exportMoMLContents, _getContainedObject, _getIndentPrefix, _isMoMLSuppressed, _markContentsDerived, _notifyHierarchyListenersAfterChange, _notifyHierarchyListenersBeforeChange, _propagateExistence, _propagateValue, _removeAttribute, _splitName, _stripNumericSuffix, _validateSettables, addChangeListener, addDebugListener, addHierarchyListener, attributeChanged, attributeDeleted, attributeList, attributeList, attributeTypeChanged, clone, clone, containedObjectsIterator, decorators, deepContains, depthInHierarchy, description, description, event, executeChangeRequests, exportMoML, exportMoML, exportMoML, exportMoML, exportMoML, exportMoMLPlain, getAttribute, getAttribute, getAttributes, getChangeListeners, getClassName, getContainer, getDecoratorAttribute, getDecoratorAttributes, getDerivedLevel, getDerivedList, getDisplayName, getFullName, getModelErrorHandler, getName, getName, getPrototypeList, getSource, handleModelError, isDeferringChangeRequests, isOverridden, isPersistent, lazyContainedObjectsIterator, message, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, notifyOfNameChange, propagateExistence, propagateValue, propagateValues, removeAttribute, removeChangeListener, removeDebugListener, removeHierarchyListener, requestChange, setClassName, setDeferringChangeRequests, setDerivedLevel, setDisplayName, setModelErrorHandler, setPersistent, setSource, sortContainedObjects, toplevel, uniqueName, validateSettables, workspace
public static final org.apache.commons.logging.Log log
public static final java.lang.String TAG_TYPE_WORKFLOW
public static final java.lang.String TAG_TYPE_RUN
public static final java.lang.String FILENAME_EXTENSION
public static final java.lang.String RUN_DATE_FORMAT
public static java.lang.String WORKFLOWRUN_SELECTED
public WorkflowRun(Workspace workspace, java.lang.String string) throws IllegalActionException
IllegalActionException
public WorkflowRun() throws IllegalActionException
IllegalActionException
public WorkflowRun(KeplerLSID runlsid, java.lang.String referralList, java.lang.String theUser, java.lang.String workflowName, KeplerLSID wfLSID, java.util.Date start, java.lang.Long dur, java.lang.Integer execid, java.util.Map<java.lang.Integer,java.lang.String> errorMsgs, java.lang.String host_id, java.lang.String anno, java.lang.String module_dependencies, java.lang.String type, java.util.Map<NamedOntClass,java.lang.String> tagsList) throws java.lang.Exception
runlsid
- theUser
- workflowName
- start
- dur
- execid
- errorMsgs
- host_id
- anno
- tagsList
- wflsid
- replaceInObjectManager
- - attempt to replace any preexisting version in ObjectManager,
taking on preexisting version's entity id.java.lang.Exception
public KeplerLSID getExecLSID()
public java.util.List<KeplerLSID> getReferralList()
public KeplerLSID getWorkflowLSID()
public java.lang.String getAnnotation()
public java.lang.String getModuleDependencies()
public java.lang.String getHostId()
public java.lang.String getType()
public java.lang.String getUser()
public java.lang.String getWorkflowName()
public java.lang.String getStartTimeISO8601()
public java.util.Date getStartTime()
public java.lang.Long getDuration()
public java.lang.Integer getExecId()
public void resetExecId(int newExecId, Recording r)
public java.util.Map<java.lang.Integer,java.lang.String> getErrorMessages()
public java.lang.String toString()
NamedObj
public void rollRevision(KeplerLSID lsid, Recording recording)
public java.util.Vector<SemanticType> getWorkflowSemanticTypes()
public java.util.Map<NamedOntClass,java.lang.String> getTags()
public java.lang.String getTagsAsFormattedString()
protected java.lang.String _description(int detail, int indent, int bracket) throws IllegalActionException
_description
in class NamedObj
detail
- The level of detail.indent
- The amount of indenting.bracket
- The number of surrounding brackets (0, 1, or 2).IllegalActionException
public java.lang.String getElementName()
NamedObj
getElementName
in interface MoMLExportable
getElementName
in class NamedObj
MoMLExportable
public void setName(java.lang.String name) throws IllegalActionException, NameDuplicationException
NamedObj
setName
in interface Nameable
setName
in class NamedObj
name
- The new name.IllegalActionException
- If the name contains a period
or if the object is a derived object and the name argument does
not match the current name.NameDuplicationException
- Not thrown in this base class.
May be thrown by derived classes if the container already contains
an object with this name.NamedObj.getName()
,
NamedObj.getName(NamedObj)