Class RawGovernanceMetaData<E,F extends Enum<F>>
java.lang.Object
net.officefloor.frame.impl.construct.governance.RawGovernanceMetaData<E,F>
Raw meta-data for a
Governance.- Author:
- Daniel Sagenschneider
-
Constructor Summary
ConstructorsConstructorDescriptionRawGovernanceMetaData(String governanceName, int governanceIndex, Class<E> extensionType, GovernanceConfiguration<E, F> governanceConfiguration, GovernanceMetaDataImpl<E, F> governanceMetaData) Initiate. -
Method Summary
Modifier and TypeMethodDescriptionObtains the extension type used by theGovernance.intObtains the index to obtain theGovernancefrom theProcessState.Links theManagedFunctionMetaDatainstances to enableFlowof execution.Obtains the name of theGovernance.booleanloadOfficeMetaData(OfficeMetaData officeMetaData, FlowMetaDataFactory flowMetaDataFactory, EscalationFlowFactory escalationFlowFactory, OfficeFloorIssues issues) Obtains theGovernanceMetaData.
-
Constructor Details
-
RawGovernanceMetaData
public RawGovernanceMetaData(String governanceName, int governanceIndex, Class<E> extensionType, GovernanceConfiguration<E, F> governanceConfiguration, GovernanceMetaDataImpl<E, F> governanceMetaData) Initiate.- Parameters:
governanceName- Name of theGovernance.governanceIndex- Index of thisRawGovernanceMetaDatawithin theProcessState.extensionType- Extension interface type.governanceConfiguration-GovernanceConfiguration.governanceMetaData-GovernanceMetaDataImpl.
-
-
Method Details
-
getGovernanceName
Obtains the name of theGovernance.- Returns:
- Name of the
Governance.
-
getExtensionType
Obtains the extension type used by theGovernance.- Returns:
- Extension type used by the
Governance.
-
getGovernanceIndex
public int getGovernanceIndex()Obtains the index to obtain theGovernancefrom theProcessState.- Returns:
- Index to obtain the
Governancefrom theProcessState.
-
getGovernanceMetaData
Links theManagedFunctionMetaDatainstances to enableFlowof execution.- Returns:
trueif successfully loaded theOfficeMetaData.
-
loadOfficeMetaData
public boolean loadOfficeMetaData(OfficeMetaData officeMetaData, FlowMetaDataFactory flowMetaDataFactory, EscalationFlowFactory escalationFlowFactory, OfficeFloorIssues issues) Obtains theGovernanceMetaData.- Parameters:
officeMetaData-OfficeMetaData.flowMetaDataFactory-FlowMetaDataFactory.escalationFlowFactory-EscalationFlowFactory.issues-OfficeFloorIssues.- Returns:
GovernanceMetaData.
-