Interface GovernanceMetaData<E,F extends java.lang.Enum<F>>
-
- All Superinterfaces:
ManagedFunctionLogicMetaData
- All Known Implementing Classes:
GovernanceMetaDataImpl
public interface GovernanceMetaData<E,F extends java.lang.Enum<F>> extends ManagedFunctionLogicMetaData
Meta-data of theGovernance
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GovernanceContainer<E>
createGovernanceContainer(ThreadState threadState, int governanceIndex)
Creates theGovernanceContainer
.ManagedFunctionLogic
createGovernanceFunctionLogic(GovernanceActivity<F> activity)
Creates theManagedFunctionContainer
for theGovernanceActivity
.GovernanceFactory<? super E,F>
getGovernanceFactory()
Obtains theGovernanceFactory
.java.lang.String
getGovernanceName()
Obtains the name of theGovernance
.-
Methods inherited from interface net.officefloor.frame.internal.structure.ManagedFunctionLogicMetaData
getAsynchronousFlowManagerReference, getAsynchronousFlowTimeout, getEscalationProcedure, getFlow, getFunctionName, getNextManagedFunctionMetaData, getOfficeMetaData, getResponsibleTeam
-
-
-
-
Method Detail
-
getGovernanceName
java.lang.String getGovernanceName()
Obtains the name of theGovernance
.- Returns:
- Name of the
Governance
.
-
getGovernanceFactory
GovernanceFactory<? super E,F> getGovernanceFactory()
Obtains theGovernanceFactory
.- Returns:
GovernanceFactory
.
-
createGovernanceContainer
GovernanceContainer<E> createGovernanceContainer(ThreadState threadState, int governanceIndex)
Creates theGovernanceContainer
.- Parameters:
threadState
-ThreadState
.governanceIndex
- Index of theGovernance
within theThreadState
.- Returns:
GovernanceContainer
.
-
createGovernanceFunctionLogic
ManagedFunctionLogic createGovernanceFunctionLogic(GovernanceActivity<F> activity)
Creates theManagedFunctionContainer
for theGovernanceActivity
.- Parameters:
activity
-GovernanceActivity
.- Returns:
ManagedFunctionLogic
for theGovernanceActivity
.
-
-