public abstract class AbstractContinuationState extends Object implements ContinuationState
Constructor and Description |
---|
AbstractContinuationState() |
Modifier and Type | Method and Description |
---|---|
void |
addLeafChild(ContinuationState leafChild)
Add a Leaf child to this ContinuationState
|
ContinuationState |
getChildContState()
Get the child ContinuationState
|
ContinuationState |
getLeafChild()
Get the Leaf Child of this ContinuationState.
|
int |
getPosition()
Get the position of the mediator in the current flow.
|
boolean |
hasChild()
Check whether child ContinuationState exists
|
void |
removeLeafChild()
Remove the Leaf child form this ContinuationState.
|
void |
setChildContState(ContinuationState childContState)
Set the child ContinuationState.
|
void |
setPosition(int position)
Set the position of the mediator in the flow which is currently being processed.
|
public ContinuationState getChildContState()
getChildContState
in interface ContinuationState
public void setChildContState(ContinuationState childContState)
setChildContState
in interface ContinuationState
childContState
- ContinuationState to be added as the childpublic int getPosition()
getPosition
in interface ContinuationState
public void setPosition(int position)
setPosition
in interface ContinuationState
position
- position of the mediator which is currently being processed in the flow.public boolean hasChild()
hasChild
in interface ContinuationState
public ContinuationState getLeafChild()
getLeafChild
in interface ContinuationState
public void addLeafChild(ContinuationState leafChild)
addLeafChild
in interface ContinuationState
leafChild
- ContinuationState which can be added as a Leaf child
for this SeqContinuationStatepublic void removeLeafChild()
removeLeafChild
in interface ContinuationState
Copyright © 2005–2024 Apache Software Foundation. All rights reserved.