org.jbpm.integration.spec.runtime
Class TokenImpl
java.lang.Object
org.jbpm.integration.spec.model.AbstractElementImpl<org.jbpm.graph.exe.Token>
org.jbpm.integration.spec.runtime.TokenImpl
- All Implemented Interfaces:
- java.io.Serializable, org.jboss.bpm.api.model.AbstractElement, org.jboss.bpm.api.runtime.Token, org.jboss.bpm.api.service.ProcessEngineSupport
public class TokenImpl
- extends AbstractElementImpl<org.jbpm.graph.exe.Token>
- implements org.jboss.bpm.api.runtime.Token
An integration wrapper
- Since:
- 15-Nov-2008
- Author:
- thomas.diesler@jboss.com
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface org.jboss.bpm.api.runtime.Token |
org.jboss.bpm.api.runtime.Token.TokenStatus |
|
Method Summary |
org.jboss.bpm.api.runtime.Attachments |
getAttachments()
|
java.util.Set<org.jboss.bpm.api.runtime.Token> |
getChildTokens()
|
javax.management.ObjectName |
getKey()
|
static javax.management.ObjectName |
getKey(org.jbpm.graph.exe.Token oldToken)
|
org.jboss.bpm.incubator.model.SequenceFlow |
getLastFlow()
|
org.jboss.bpm.api.model.Node |
getNode()
|
org.jboss.bpm.api.runtime.Token |
getParentToken()
|
org.jboss.bpm.api.model.ProcessInstance |
getProcess()
|
org.jboss.bpm.api.runtime.Token |
getRootToken()
|
org.jboss.bpm.api.runtime.Token.TokenStatus |
getTokenStatus()
|
static org.jboss.bpm.api.runtime.Token |
newInstance(org.jboss.bpm.api.service.ProcessEngine engine,
org.jbpm.graph.exe.Token tmpToken)
|
void |
signal()
|
void |
signal(java.lang.String name)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.bpm.api.runtime.Token |
getProcessEngine |
newInstance
public static org.jboss.bpm.api.runtime.Token newInstance(org.jboss.bpm.api.service.ProcessEngine engine,
org.jbpm.graph.exe.Token tmpToken)
getKey
public javax.management.ObjectName getKey()
- Specified by:
getKey in interface org.jboss.bpm.api.model.AbstractElement- Specified by:
getKey in interface org.jboss.bpm.api.runtime.Token
getKey
public static javax.management.ObjectName getKey(org.jbpm.graph.exe.Token oldToken)
getProcess
public org.jboss.bpm.api.model.ProcessInstance getProcess()
- Specified by:
getProcess in interface org.jboss.bpm.api.runtime.Token
getAttachments
public org.jboss.bpm.api.runtime.Attachments getAttachments()
- Specified by:
getAttachments in interface org.jboss.bpm.api.runtime.Token
getTokenStatus
public org.jboss.bpm.api.runtime.Token.TokenStatus getTokenStatus()
- Specified by:
getTokenStatus in interface org.jboss.bpm.api.runtime.Token
getChildTokens
public java.util.Set<org.jboss.bpm.api.runtime.Token> getChildTokens()
- Specified by:
getChildTokens in interface org.jboss.bpm.api.runtime.Token
getNode
public org.jboss.bpm.api.model.Node getNode()
- Specified by:
getNode in interface org.jboss.bpm.api.runtime.Token
getLastFlow
public org.jboss.bpm.incubator.model.SequenceFlow getLastFlow()
getParentToken
public org.jboss.bpm.api.runtime.Token getParentToken()
- Specified by:
getParentToken in interface org.jboss.bpm.api.runtime.Token
getRootToken
public org.jboss.bpm.api.runtime.Token getRootToken()
- Specified by:
getRootToken in interface org.jboss.bpm.api.runtime.Token
signal
public void signal()
- Specified by:
signal in interface org.jboss.bpm.api.runtime.Token
signal
public void signal(java.lang.String name)
- Specified by:
signal in interface org.jboss.bpm.api.runtime.Token
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.