Interface GovernanceFlowType<F extends Enum<F>>
- All Known Implementing Classes:
GovernanceFlowTypeImpl
public interface GovernanceFlowType<F extends Enum<F>>
- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionClass<?>Obtains the type of the argument passed by theGovernanceActivityto theFlow.Obtains the name for theGovernanceFlowType.intgetIndex()Obtains the index for theGovernanceFlowType.getKey()Obtains theEnumkey for theGovernanceFlowType.
-
Method Details
-
getFlowName
String getFlowName()Obtains the name for theGovernanceFlowType.- Returns:
- Name for the
GovernanceFlowType.
-
getIndex
int getIndex()Obtains the index for the
GovernanceFlowType.Should there be an
Enumthen will be theEnum.ordinal()value. Otherwise will be the index that this was added.- Returns:
- Index for the
GovernanceFlowType.
-
getArgumentType
Class<?> getArgumentType()Obtains the type of the argument passed by theGovernanceActivityto theFlow.- Returns:
- Type of argument passed to
Flow. May benullto indicate no argument.
-
getKey
F getKey()Obtains theEnumkey for theGovernanceFlowType.- Returns:
Enumkey for theGovernanceFlowType. May benullif noEnumfor flows.
-