net.officefloor.compile.governance
Interface GovernanceLoader

All Known Implementing Classes:
GovernanceLoaderImpl

public interface GovernanceLoader

Loads the GovernanceSource.

Author:
Daniel Sagenschneider

Method Summary
<I,F extends Enum<F>,GS extends GovernanceSource<I,F>>
GovernanceType<I,F>
loadGovernanceType(Class<GS> governanceSourceClass, PropertyList properties)
          Loads and returns the GovernanceType from the GovernanceSource class.
<I,F extends Enum<F>,GS extends GovernanceSource<I,F>>
PropertyList
loadSpecification(Class<GS> governanceSourceClass)
          Loads and returns the PropertyList from the GovernanceSourceSpecification for the GovernanceSource.
 

Method Detail

loadSpecification

<I,F extends Enum<F>,GS extends GovernanceSource<I,F>> PropertyList loadSpecification(Class<GS> governanceSourceClass)
Loads and returns the PropertyList from the GovernanceSourceSpecification for the GovernanceSource.

Parameters:
governanceSourceClass - Class of the GovernanceSource.
Returns:
PropertyList of the GovernanceSourceProperty instances of the GovernanceSourceSpecification or null if issue, which is reported to the CompilerIssues.

loadGovernanceType

<I,F extends Enum<F>,GS extends GovernanceSource<I,F>> GovernanceType<I,F> loadGovernanceType(Class<GS> governanceSourceClass,
                                                                                              PropertyList properties)
Loads and returns the GovernanceType from the GovernanceSource class.

Parameters:
governanceSourceClass - Class of the GovernanceSource.
properties - PropertyList containing the properties to source the GovernanceType.
Returns:
GovernanceType or null if issues, which is reported to the CompilerIssues.


Copyright © 2005-2013. All Rights Reserved.