public class ProvRecording extends SimpleFiringRecording<org.openprovenance.prov.model.Activity>
_fireStateTable
_containerFullName, _containerLSID, _containerName, _debugPrint, _debugWriter, _machineStr, _recorder, _recorderContainer, _stateSerializer
Constructor and Description |
---|
ProvRecording()
Construct a new ProvRecording.
|
Modifier and Type | Method and Description |
---|---|
protected void |
_recordPortEvent(IOPort port,
org.openprovenance.prov.model.Activity activity,
boolean isRead,
int channel,
Token token,
java.util.Date timestamp)
Record a port read or write.
|
void |
actorFire(FiringEvent event,
java.util.Date timestamp)
Record an actor firing.
|
void |
attributeChanged(Attribute attribute)
React to a parameter change.
|
void |
executionStart(KeplerLSID executionLSID,
java.util.Date timestamp)
Record the starting of workflow execution at a specific time.
|
void |
executionStop(KeplerLSID executionLSID,
java.util.Date timestamp)
Record the stopping of workflow execution.
|
RecordingParameters |
generateParameters(NamedObj no)
Add Parameters for ProvenanceListener.
|
void |
portEvent(IOPortEvent event,
java.util.Date timestamp)
Record a port event.
|
boolean |
regPort(TypedIOPort port)
Register a port or portparameter.
|
void |
setOutput(java.io.OutputStream stream)
Set the output.
|
void |
setOutputType(org.openprovenance.prov.interop.InteropFramework.ProvFormat type)
Set the output type.
|
regActor, regContents, specificationStart
_debug, _debug, _debugWrite, _debugWrite, _error, _getExceptionMessage, _getNameableFullName, _needWorkflowContents, _updateContainerName, _warn, actorFire, addFileForLastExecution, changeExecutionLSID, customProvEvent, disconnect, evolutionStart, evolutionStop, executionError, executionError, executionImported, executionImported, executionStart, executionStart, executionStart, executionStop, executionStop, executionStop, getContainer, getQueryable, portEvent, refillPortEvent, regDirector, regLink, regParameter, regRelation, remove, removeLink, removeStateSerializer, rename, renamedWorkflow, setContainer, setContainerLSID, setContainerName, setDebugWriter, setStateSerializer, specificationStop, tagAdded, tagRemoved
public ProvRecording() throws RecordingException
RecordingException
public void attributeChanged(Attribute attribute) throws IllegalActionException
attributeChanged
in class Recording
IllegalActionException
public boolean regPort(TypedIOPort port) throws RecordingException
regPort
in class Recording
RecordingException
public void executionStart(KeplerLSID executionLSID, java.util.Date timestamp) throws RecordingException
Recording
executionStart
in class Recording
RecordingException
public void executionStop(KeplerLSID executionLSID, java.util.Date timestamp) throws RecordingException
executionStop
in class Recording
RecordingException
public void actorFire(FiringEvent event, java.util.Date timestamp) throws RecordingException
actorFire
in class Recording
RecordingException
public void portEvent(IOPortEvent event, java.util.Date timestamp) throws RecordingException
portEvent
in class Recording
RecordingException
public RecordingParameters generateParameters(NamedObj no) throws IllegalActionException, NameDuplicationException
generateParameters
in class Recording
IllegalActionException
NameDuplicationException
public void setOutput(java.io.OutputStream stream)
public void setOutputType(org.openprovenance.prov.interop.InteropFramework.ProvFormat type)
protected void _recordPortEvent(IOPort port, org.openprovenance.prov.model.Activity activity, boolean isRead, int channel, Token token, java.util.Date timestamp) throws RecordingException
RecordingException