public class BrainslugExecutionContext extends Object implements ExecutionContext
| Constructor and Description |
|---|
BrainslugExecutionContext(FlowInstance flowInstance,
TriggerContext trigger,
Registry registry) |
| Modifier and Type | Method and Description |
|---|---|
FlowInstance |
getInstance() |
TriggerContext |
getTrigger() |
<T> T |
property(Enum key,
Class<T> clazz) |
<T> T |
property(Identifier key,
Class<T> clazz) |
<T> T |
property(Property<T> key,
Class<T> clazz) |
<T> T |
property(String key,
Class<T> clazz) |
<T> T |
service(Class<T> clazz) |
public BrainslugExecutionContext(FlowInstance flowInstance, TriggerContext trigger, Registry registry)
public TriggerContext getTrigger()
getTrigger in interface ExecutionContextpublic FlowInstance getInstance()
getInstance in interface ExecutionContextpublic <T> T property(Property<T> key, Class<T> clazz)
property in interface ExecutionContextpublic <T> T property(Identifier key, Class<T> clazz)
property in interface ExecutionContextpublic <T> T property(String key, Class<T> clazz)
property in interface ExecutionContextpublic <T> T property(Enum key, Class<T> clazz)
property in interface ExecutionContextpublic <T> T service(Class<T> clazz)
service in interface ExecutionContextCopyright © 2015. All rights reserved.