Class ClassGovernanceFactory
- java.lang.Object
- 
- net.officefloor.plugin.governance.clazz.ClassGovernanceFactory
 
- 
- All Implemented Interfaces:
- GovernanceFactory<java.lang.Object,Indexed>
 
 public class ClassGovernanceFactory extends java.lang.Object implements GovernanceFactory<java.lang.Object,Indexed> ClassGovernanceFactory.- Author:
- Daniel Sagenschneider
 
- 
- 
Constructor SummaryConstructors Constructor Description ClassGovernanceFactory(java.lang.Class<?> clazz, java.lang.reflect.Method governMethod, java.lang.reflect.Method enforceMethod, java.lang.reflect.Method disregardMethod)Initiate.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Governance<java.lang.Object,Indexed>createGovernance()Creates theGovernance.
 
- 
- 
- 
Constructor Detail- 
ClassGovernanceFactorypublic ClassGovernanceFactory(java.lang.Class<?> clazz, java.lang.reflect.Method governMethod, java.lang.reflect.Method enforceMethod, java.lang.reflect.Method disregardMethod)Initiate.- Parameters:
- clazz-- Class.
- governMethod-- Methodfor governing the- ManagedObject.
- enforceMethod-- Methodto enforce the- Governance.
- disregardMethod-- Methodto disregard the- Governance. May be- nullif no functionality required for disregarding.
 
 
- 
 - 
Method Detail- 
createGovernancepublic Governance<java.lang.Object,Indexed> createGovernance() throws java.lang.Throwable Description copied from interface:GovernanceFactoryCreates theGovernance.- Specified by:
- createGovernancein interface- GovernanceFactory<java.lang.Object,Indexed>
- Returns:
- Governance.
- Throws:
- java.lang.Throwable- If fails to create the- Governance.
 
 
- 
 
-