Interface GovernanceLoader
- All Known Implementing Classes:
GovernanceLoaderImpl
public interface GovernanceLoader
Loads the
GovernanceSource.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescription<I,F extends Enum<F>, GS extends GovernanceSource<I, F>>
GovernanceType<I,F> loadGovernanceType(GS governanceSource, PropertyList properties) Loads and returns theGovernanceTypefrom theGovernanceSource.<I,F extends Enum<F>, GS extends GovernanceSource<I, F>>
GovernanceType<I,F> loadGovernanceType(Class<GS> governanceSourceClass, PropertyList properties) Loads and returns theGovernanceTypefrom theGovernanceSourceclass.<I,F extends Enum<F>, GS extends GovernanceSource<I, F>>
PropertyListloadSpecification(Class<GS> governanceSourceClass)
-
Method Details
-
loadSpecification
<I,F extends Enum<F>, PropertyList loadSpecificationGS extends GovernanceSource<I, F>> (Class<GS> governanceSourceClass) - Type Parameters:
I- Extension interface type.F- Flow key type.GS-GovernanceSourcetype.- Parameters:
governanceSourceClass- Class of theGovernanceSource.- Returns:
PropertyListof theGovernanceSourcePropertyinstances of theGovernanceSourceSpecificationornullif issue, which is reported to theCompilerIssues.
-
loadGovernanceType
<I,F extends Enum<F>, GovernanceType<I,GS extends GovernanceSource<I, F>> F> loadGovernanceType(Class<GS> governanceSourceClass, PropertyList properties) Loads and returns theGovernanceTypefrom theGovernanceSourceclass.- Type Parameters:
I- Extension interface type.F- Flow key type.GS-GovernanceSourcetype.- Parameters:
governanceSourceClass- Class of theGovernanceSource.properties-PropertyListcontaining the properties to source theGovernanceType.- Returns:
GovernanceTypeornullif issues, which is reported to theCompilerIssues.
-
loadGovernanceType
<I,F extends Enum<F>, GovernanceType<I,GS extends GovernanceSource<I, F>> F> loadGovernanceType(GS governanceSource, PropertyList properties) Loads and returns theGovernanceTypefrom theGovernanceSource.- Type Parameters:
I- Extension interface type.F- Flow key type.GS-GovernanceSourcetype.- Parameters:
governanceSource-GovernanceSource.properties-PropertyListcontaining the properties to source theGovernanceType.- Returns:
GovernanceTypeornullif issues, which is reported to theCompilerIssues.
-