Class GovernanceTypeImpl<I,F extends Enum<F>>
java.lang.Object
net.officefloor.compile.impl.governance.GovernanceTypeImpl<I,F>
- All Implemented Interfaces:
GovernanceType<I,F>
GovernanceType implementation.- Author:
- Daniel Sagenschneider
-
Constructor Summary
ConstructorsConstructorDescriptionGovernanceTypeImpl(GovernanceFactory<? extends I, F> governanceFactory, Class<I> extensionInterface, GovernanceFlowType<F>[] flowTypes, GovernanceEscalationType[] escalationTypes) Initiate. -
Method Summary
Modifier and TypeMethodDescriptionObtains theGovernanceEscalationTypedefinitions for the possibleEscalationFlowinstances by theGovernanceActivity.Obtains the extension type that theManagedObjectinstances are to provide to be enableGovernanceover them.Obtains theGovernanceFlowTypedefinitions for the possibleFlowinstances instigated by theGovernanceActivity.GovernanceFactory<? extends I,F> Obtains theGovernanceFactory.
-
Constructor Details
-
GovernanceTypeImpl
public GovernanceTypeImpl(GovernanceFactory<? extends I, F> governanceFactory, Class<I> extensionInterface, GovernanceFlowType<F>[] flowTypes, GovernanceEscalationType[] escalationTypes) Initiate.- Parameters:
governanceFactory-GovernanceFactory.extensionInterface- Extension interface.flowTypes-GovernanceFlowTypeinstances.escalationTypes-GovernanceEscalationTypeinstances.
-
-
Method Details
-
getGovernanceFactory
Description copied from interface:GovernanceTypeObtains theGovernanceFactory.- Specified by:
getGovernanceFactoryin interfaceGovernanceType<I,F extends Enum<F>> - Returns:
GovernanceFactory.
-
getExtensionType
Description copied from interface:GovernanceTypeObtains the extension type that theManagedObjectinstances are to provide to be enableGovernanceover them.- Specified by:
getExtensionTypein interfaceGovernanceType<I,F extends Enum<F>> - Returns:
- Extension type that the
ManagedObjectinstances are to provide to be enableGovernanceover them.
-
getFlowTypes
Description copied from interface:GovernanceTypeObtains theGovernanceFlowTypedefinitions for the possibleFlowinstances instigated by theGovernanceActivity.- Specified by:
getFlowTypesin interfaceGovernanceType<I,F extends Enum<F>> - Returns:
GovernanceFlowTypedefinitions for the possibleFlowinstances instigated by theGovernanceActivity.
-
getEscalationTypes
Description copied from interface:GovernanceTypeObtains theGovernanceEscalationTypedefinitions for the possibleEscalationFlowinstances by theGovernanceActivity.- Specified by:
getEscalationTypesin interfaceGovernanceType<I,F extends Enum<F>> - Returns:
GovernanceEscalationTypedefinitions for the possibleEscalationFlowinstances by theGovernanceActivity.
-