Class ReactionSurrogate
-
- All Implemented Interfaces:
public final class ReactionSurrogate<T extends Object> extends GraphQLSurrogate<Reaction<T>>
A surrogate class for Reaction.
-
-
Field Summary
Fields Modifier and Type Field Description private final Reaction<T>
origin
private final Context
inputContext
private final Context
outputContext
private final NodeSurrogate<T>
node
-
Constructor Summary
Constructors Constructor Description ReactionSurrogate(Reaction<T> origin, Context inputContext, Context outputContext, NodeSurrogate<T> node)
-
Method Summary
Modifier and Type Method Description Reaction<T>
getOrigin()
final Context
getInputContext()
final Context
getOutputContext()
final NodeSurrogate<T>
getNode()
-
-
Constructor Detail
-
ReactionSurrogate
ReactionSurrogate(Reaction<T> origin, Context inputContext, Context outputContext, NodeSurrogate<T> node)
- Parameters:
inputContext
- the input context of the reactionoutputContext
- the output context of the reactionnode
- the NodeSurrogate in which this ReactionSurrogate executes
-
-
Method Detail
-
getInputContext
final Context getInputContext()
-
getOutputContext
final Context getOutputContext()
-
getNode
final NodeSurrogate<T> getNode()
-
-
-
-