net.officefloor.compile.governance
Interface GovernanceFlowType<F extends Enum<F>>

All Known Implementing Classes:
GovernanceFlowTypeImpl

public interface GovernanceFlowType<F extends Enum<F>>

Type definition of a JobSequence possibly instigated by a GovernanceActivity.

Author:
Daniel Sagenschneider

Method Summary
 Class<?> getArgumentType()
          Obtains the type of the argument passed by the GovernanceActivity to the JobSequence.
 String getFlowName()
          Obtains the name for the GovernanceFlowType.
 int getIndex()
           Obtains the index for the GovernanceFlowType.
 F getKey()
          Obtains the Enum key for the GovernanceFlowType.
 

Method Detail

getFlowName

String getFlowName()
Obtains the name for the GovernanceFlowType.

Returns:
Name for the GovernanceFlowType.

getIndex

int getIndex()

Obtains the index for the GovernanceFlowType.

Should there be an Enum then will be the Enum.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 the GovernanceActivity to the JobSequence.

Returns:
Type of argument passed to JobSequence. May be null to indicate no argument.

getKey

F getKey()
Obtains the Enum key for the GovernanceFlowType.

Returns:
Enum key for the GovernanceFlowType. May be null if no Enum for flows.


Copyright © 2005-2013. All Rights Reserved.