Interface GovernanceSource<I,F extends Enum<F>>
- All Known Implementing Classes:
AbstractGovernanceSource,ClassGovernanceSource,SpringDataTransactionGovernanceSource,SpringDataTransactionGovernanceSource
public interface GovernanceSource<I,F extends Enum<F>>
Source to obtain the
Governance.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionObtains the specification for this.init(GovernanceSourceContext context) Initialises theGovernanceSource.
-
Method Details
-
getSpecification
GovernanceSourceSpecification getSpecification()Obtains the specification for this.
This will be called before any other methods, therefore this method must be able to return the specification immediately after a default constructor instantiation.
- Returns:
- Specification of this.
-
init
Initialises theGovernanceSource.- Parameters:
context-GovernanceSourceContextto initialise this instance of theGovernanceSource.- Returns:
- Meta-data to describe this.
- Throws:
Exception- Should theGovernanceSourcefail to configure itself from the input properties.
-