Class RawGovernanceMetaData<E,F extends java.lang.Enum<F>>
- java.lang.Object
-
- net.officefloor.frame.impl.construct.governance.RawGovernanceMetaData<E,F>
-
public class RawGovernanceMetaData<E,F extends java.lang.Enum<F>> extends java.lang.ObjectRaw meta-data for aGovernance.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description RawGovernanceMetaData(java.lang.String governanceName, int governanceIndex, java.lang.Class<E> extensionType, GovernanceConfiguration<E,F> governanceConfiguration, GovernanceMetaDataImpl<E,F> governanceMetaData)Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<E>getExtensionType()Obtains the extension type used by theGovernance.intgetGovernanceIndex()Obtains the index to obtain theGovernancefrom theProcessState.GovernanceMetaData<E,F>getGovernanceMetaData()Links theManagedFunctionMetaDatainstances to enableFlowof execution.java.lang.StringgetGovernanceName()Obtains the name of theGovernance.booleanloadOfficeMetaData(OfficeMetaData officeMetaData, FlowMetaDataFactory flowMetaDataFactory, EscalationFlowFactory escalationFlowFactory, OfficeFloorIssues issues)Obtains theGovernanceMetaData.
-
-
-
Constructor Detail
-
RawGovernanceMetaData
public RawGovernanceMetaData(java.lang.String governanceName, int governanceIndex, java.lang.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 Detail
-
getGovernanceName
public java.lang.String getGovernanceName()
Obtains the name of theGovernance.- Returns:
- Name of the
Governance.
-
getExtensionType
public java.lang.Class<E> 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
public GovernanceMetaData<E,F> 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.
-
-