public class WorkflowDataToken extends Event<WorkflowDataToken>
Constructor and Description |
---|
WorkflowDataToken(String owningProcess,
int[] index,
T2Reference dataRef,
InvocationContext context)
Construct a new data token with the specified owning process, conceptual
index array and data reference
|
Modifier and Type | Method and Description |
---|---|
T2Reference |
getData()
Return the ID of the data this event represents
|
WorkflowDataToken |
popOwningProcess()
Return a copy of the event subclass with the last owning process removed
from the owning process list.
|
WorkflowDataToken |
pushOwningProcess(String localProcessName)
Return a copy of the event subclass with the specified local process name
appended to the owning process identifier field.
|
String |
toString()
Show the owner, index array and data map in textual form for debugging
and any other purpose.
|
getContext, getIndex, getOwningProcess, isFinal, popOwner, pushOwner
public WorkflowDataToken(String owningProcess, int[] index, T2Reference dataRef, InvocationContext context)
owningProcess
- index
- dataRef
- public WorkflowDataToken popOwningProcess() throws ProcessIdentifierException
Event
popOwningProcess
in class Event<WorkflowDataToken>
ProcessIdentifierException
public WorkflowDataToken pushOwningProcess(String localProcessName) throws ProcessIdentifierException
Event
pushOwningProcess
in class Event<WorkflowDataToken>
localProcessName
- name to addProcessIdentifierException
- if the local process name contains the ':' characterpublic T2Reference getData()
public String toString()
Job(Process1)[2,0]{Input2=dataID4,Input1=dataID3}
toString
in class Event<WorkflowDataToken>
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.