public class MessageTokenEvent<T extends Token<T>> extends BasicTokenEvent<T> implements ChildTokenEvent<T>
BasicTokenEvent
that also carries a messageTokenEvent.ContainerEventType, TokenEvent.TokenEventFlowStatus, TokenEvent.TokenEventType
Constructor and Description |
---|
MessageTokenEvent() |
MessageTokenEvent(String json) |
MessageTokenEvent(TokenEvent.TokenEventFlowStatus flowStatus,
Collection<T> tokens,
String message) |
MessageTokenEvent(TokenEvent.TokenEventFlowStatus flowStatus,
String message) |
MessageTokenEvent(TokenEvent.TokenEventFlowStatus flowStatus,
Supplier<Collection<T>> tokensSupplier,
String message) |
MessageTokenEvent(TokenEvent.TokenEventFlowStatus flowStatus,
T token,
String message) |
Modifier and Type | Method and Description |
---|---|
TokenEvent<T> |
getParent()
The parent
TokenEvent that triggered this one |
void |
setParent(TokenEvent<T> parent)
The parent
TokenEvent that triggered this one |
addBehavior, consumed, getBehaviors, getFeedback, getFlowStatus, getPreEventProcess, getToken, getTokens, setBehaviors, setFeedback, setFlowStatus, setToken, setTokens, setTokens, toString, wasConsumed
getLevel, getMessage, setLevel, setMessage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addBehavior, getBehaviors, getFeedback, getFlowStatus, getPreEventProcess, setBehaviors, setFlowStatus
setFeedback
public MessageTokenEvent()
public MessageTokenEvent(String json)
public MessageTokenEvent(TokenEvent.TokenEventFlowStatus flowStatus, String message)
public MessageTokenEvent(TokenEvent.TokenEventFlowStatus flowStatus, T token, String message)
public MessageTokenEvent(TokenEvent.TokenEventFlowStatus flowStatus, Collection<T> tokens, String message)
public MessageTokenEvent(TokenEvent.TokenEventFlowStatus flowStatus, Supplier<Collection<T>> tokensSupplier, String message)
public TokenEvent<T> getParent()
TokenEvent
that triggered this onepublic void setParent(TokenEvent<T> parent)
TokenEvent
that triggered this oneCopyright © 2018. All rights reserved.