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.Object
Raw 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
.int
getGovernanceIndex()
Obtains the index to obtain theGovernance
from theProcessState
.GovernanceMetaData<E,F>
getGovernanceMetaData()
Links theManagedFunctionMetaData
instances to enableFlow
of execution.java.lang.String
getGovernanceName()
Obtains the name of theGovernance
.boolean
loadOfficeMetaData(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 thisRawGovernanceMetaData
within 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 theGovernance
from theProcessState
.- Returns:
- Index to obtain the
Governance
from theProcessState
.
-
getGovernanceMetaData
public GovernanceMetaData<E,F> getGovernanceMetaData()
Links theManagedFunctionMetaData
instances to enableFlow
of execution.- Returns:
true
if 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
.
-
-