public class Token extends Object implements FlowInstanceToken
| Constructor and Description |
|---|
Token(Identifier id,
Identifier nodeId,
Option<Identifier> sourceNode,
Identifier instanceId,
boolean isDead,
boolean isFinal) |
Token(String id,
String nodeId,
String sourceNodeId,
String instanceId,
int isDead,
int isFinal) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Identifier |
getId() |
Identifier |
getInstanceId() |
Identifier |
getNodeId() |
Option<Identifier> |
getSourceNodeId() |
int |
hashCode() |
boolean |
isDead() |
boolean |
isFinal() |
void |
setDead(boolean isDead) |
void |
setFinal(boolean isFinal) |
String |
toString() |
public Token(String id, String nodeId, String sourceNodeId, String instanceId, int isDead, int isFinal)
public Token(Identifier id, Identifier nodeId, Option<Identifier> sourceNode, Identifier instanceId, boolean isDead, boolean isFinal)
public Identifier getId()
getId in interface FlowInstanceTokenpublic Identifier getNodeId()
getNodeId in interface FlowInstanceTokenpublic Option<Identifier> getSourceNodeId()
getSourceNodeId in interface FlowInstanceTokenpublic Identifier getInstanceId()
getInstanceId in interface FlowInstanceTokenpublic boolean isDead()
isDead in interface FlowInstanceTokenpublic boolean isFinal()
isFinal in interface FlowInstanceTokenpublic void setDead(boolean isDead)
public void setFinal(boolean isFinal)
Copyright © 2015. All rights reserved.