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:
getCommand
in interfaceCommandInfo
- Returns:
- the command
- See Also:
-
getTransition
public int getTransition()- Specified by:
getTransition
in interfaceCommandInfo
- Returns:
- the transition
- See Also:
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceCommandInfo
- Returns:
- the enabled
- See Also:
-
getTransitionDescription
- Specified by:
getTransitionDescription
in interfaceCommandInfo
- Returns:
- the description of the transition
- See Also:
-
equals
-
hashCode
public int hashCode() -
isReasonRequired
public boolean isReasonRequired()- Specified by:
isReasonRequired
in interfaceCommandInfo
- Returns:
- whether the user has to give a reason to invoking this command
-
isNextReceiverRequired
public boolean isNextReceiverRequired()- Specified by:
isNextReceiverRequired
in interfaceCommandInfo
- Returns:
- whether the user has to select the next receiver
-
toString
-