Package org.mwolff.command.process
Class DefaultTransition
- java.lang.Object
-
- org.mwolff.command.process.DefaultTransition
-
- All Implemented Interfaces:
Transition
public class DefaultTransition extends Object implements Transition
-
-
Constructor Summary
Constructors Constructor Description DefaultTransition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getReturnValue()
Optional<String>
getTarget()
void
setReturnValue(String returnValue)
void
setTarget(String target)
-
-
-
Method Detail
-
getReturnValue
public String getReturnValue()
- Specified by:
getReturnValue
in interfaceTransition
- Returns:
- The return value of the transition.
-
getTarget
public Optional<String> getTarget()
- Specified by:
getTarget
in interfaceTransition
- Returns:
- The target of the transition
-
setReturnValue
public void setReturnValue(String returnValue)
- Specified by:
setReturnValue
in interfaceTransition
- Parameters:
returnValue
- The return value of the transition.
-
setTarget
public void setTarget(String target)
- Specified by:
setTarget
in interfaceTransition
- Parameters:
target
- The target of the transition.
-
-