Interface GovernanceLoader
-
- All Known Implementing Classes:
GovernanceLoaderImpl
public interface GovernanceLoader
Loads theGovernanceSource
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <I,F extends java.lang.Enum<F>,GS extends GovernanceSource<I,F>>
GovernanceType<I,F>loadGovernanceType(GS governanceSource, PropertyList properties)
Loads and returns theGovernanceType
from theGovernanceSource
.<I,F extends java.lang.Enum<F>,GS extends GovernanceSource<I,F>>
GovernanceType<I,F>loadGovernanceType(java.lang.Class<GS> governanceSourceClass, PropertyList properties)
Loads and returns theGovernanceType
from theGovernanceSource
class.<I,F extends java.lang.Enum<F>,GS extends GovernanceSource<I,F>>
PropertyListloadSpecification(java.lang.Class<GS> governanceSourceClass)
-
-
-
Method Detail
-
loadSpecification
<I,F extends java.lang.Enum<F>,GS extends GovernanceSource<I,F>> PropertyList loadSpecification(java.lang.Class<GS> governanceSourceClass)
- Type Parameters:
I
- Extension interface type.F
- Flow key type.GS
-GovernanceSource
type.- Parameters:
governanceSourceClass
- Class of theGovernanceSource
.- Returns:
PropertyList
of theGovernanceSourceProperty
instances of theGovernanceSourceSpecification
ornull
if issue, which is reported to theCompilerIssues
.
-
loadGovernanceType
<I,F extends java.lang.Enum<F>,GS extends GovernanceSource<I,F>> GovernanceType<I,F> loadGovernanceType(java.lang.Class<GS> governanceSourceClass, PropertyList properties)
Loads and returns theGovernanceType
from theGovernanceSource
class.- Type Parameters:
I
- Extension interface type.F
- Flow key type.GS
-GovernanceSource
type.- Parameters:
governanceSourceClass
- Class of theGovernanceSource
.properties
-PropertyList
containing the properties to source theGovernanceType
.- Returns:
GovernanceType
ornull
if issues, which is reported to theCompilerIssues
.
-
loadGovernanceType
<I,F extends java.lang.Enum<F>,GS extends GovernanceSource<I,F>> GovernanceType<I,F> loadGovernanceType(GS governanceSource, PropertyList properties)
Loads and returns theGovernanceType
from theGovernanceSource
.- Type Parameters:
I
- Extension interface type.F
- Flow key type.GS
-GovernanceSource
type.- Parameters:
governanceSource
-GovernanceSource
.properties
-PropertyList
containing the properties to source theGovernanceType
.- Returns:
GovernanceType
ornull
if issues, which is reported to theCompilerIssues
.
-
-