Package com.saperion.wf
Class CommandInfoImpl
java.lang.Object
com.saperion.wf.CommandInfoImpl
- All Implemented Interfaces:
CommandInfo,Serializable
- Author:
- rbo
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCommandInfoImpl(SaWFConstants.CommandId cmd, String desc, boolean isEnabled, int trans) CommandInfoImpl(SaWFConstants.CommandId cmd, String desc, boolean isEnabled, int trans, boolean reasonRequired, boolean nextReceiverRequired) Constructor. -
Method Summary
-
Constructor Details
-
CommandInfoImpl
-
CommandInfoImpl
public CommandInfoImpl(SaWFConstants.CommandId cmd, String desc, boolean isEnabled, int trans, boolean reasonRequired, boolean nextReceiverRequired) Constructor.- Parameters:
cmd- Commanddesc- DescriptionisEnabled- Is enabledtrans-reasonRequired-nextReceiverRequired-
-
-
Method Details
-
getCommand
- Specified by:
getCommandin interfaceCommandInfo- Returns:
- the command
- See Also:
-
getTransition
public int getTransition()- Specified by:
getTransitionin interfaceCommandInfo- Returns:
- the transition
- See Also:
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceCommandInfo- Returns:
- the enabled
- See Also:
-
getTransitionDescription
- Specified by:
getTransitionDescriptionin interfaceCommandInfo- Returns:
- the description of the transition
- See Also:
-
equals
-
hashCode
public int hashCode() -
isReasonRequired
public boolean isReasonRequired()- Specified by:
isReasonRequiredin interfaceCommandInfo- Returns:
- whether the user has to give a reason to invoking this command
-
isNextReceiverRequired
public boolean isNextReceiverRequired()- Specified by:
isNextReceiverRequiredin interfaceCommandInfo- Returns:
- whether the user has to select the next receiver
-
toString
-