public class TriggerContext<T extends TriggerContext> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
async |
protected Identifier |
definitionId |
protected Identifier |
instanceId |
protected Identifier |
nodeId |
protected ExecutionProperties |
properties |
protected Boolean |
signaling |
| Constructor and Description |
|---|
TriggerContext() |
| Modifier and Type | Method and Description |
|---|---|
T |
async(Boolean async) |
T |
definitionId(Enum id) |
T |
definitionId(Identifier definitionId) |
T |
definitionId(String id) |
boolean |
equals(Object o)
TODO: should we include the properties into equals?
|
Identifier |
getDefinitionId() |
Identifier |
getInstanceId() |
Identifier |
getNodeId() |
ExecutionProperties |
getProperties() |
<P> P |
getProperty(Class<P> type) |
<P> P |
getProperty(String key,
Class<P> type) |
int |
hashCode() |
T |
instanceId(Identifier instanceId) |
Boolean |
isAsync() |
Boolean |
isSignaling() |
T |
nodeId(Identifier nodeId) |
T |
properties(ExecutionProperties properties) |
T |
property(Object value) |
T |
property(String key,
Object value) |
void |
setProperty(String key,
Object value) |
T |
signaling(Boolean signaling) |
String |
toString() |
protected Identifier definitionId
protected Identifier instanceId
protected Identifier nodeId
protected Boolean async
protected Boolean signaling
protected ExecutionProperties properties
public Identifier getDefinitionId()
public Identifier getInstanceId()
public Identifier getNodeId()
public T definitionId(Identifier definitionId)
public T instanceId(Identifier instanceId)
public T nodeId(Identifier nodeId)
public T properties(ExecutionProperties properties)
public <P> P getProperty(Class<P> type)
public ExecutionProperties getProperties()
public Boolean isAsync()
public Boolean isSignaling()
public boolean equals(Object o)
Copyright © 2014. All rights reserved.