Class ClassGovernanceFactory
java.lang.Object
net.officefloor.plugin.governance.clazz.ClassGovernanceFactory
- All Implemented Interfaces:
GovernanceFactory<Object,Indexed>
- Author:
- Daniel Sagenschneider
-
Constructor Summary
ConstructorsConstructorDescriptionClassGovernanceFactory(Class<?> clazz, Method governMethod, Method enforceMethod, Method disregardMethod) Initiate. -
Method Summary
-
Constructor Details
-
ClassGovernanceFactory
public ClassGovernanceFactory(Class<?> clazz, Method governMethod, Method enforceMethod, Method disregardMethod) Initiate.- Parameters:
clazz-Class.governMethod-Methodfor governing theManagedObject.enforceMethod-Methodto enforce theGovernance.disregardMethod-Methodto disregard theGovernance. May benullif no functionality required for disregarding.
-
-
Method Details
-
createGovernance
Description copied from interface:GovernanceFactoryCreates theGovernance.- Specified by:
createGovernancein interfaceGovernanceFactory<Object,Indexed> - Returns:
Governance.- Throws:
Throwable- If fails to create theGovernance.
-