Interface AbstractGovernanceSource.MetaDataContext<I,F extends java.lang.Enum<F>>
-
- Enclosing class:
- AbstractGovernanceSource<I,F extends java.lang.Enum<F>>
public static interface AbstractGovernanceSource.MetaDataContext<I,F extends java.lang.Enum<F>>
Context for theGovernanceSource.init(GovernanceSourceContext)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addEscalation(java.lang.Class<?> escalationType)
Adds a potential escalation from aGovernanceActivity
.AbstractGovernanceSource.Labeller
addFlow(F key, java.lang.Class<?> argumentType)
Adds a requiredFlow
identified by the key.AbstractGovernanceSource.Labeller
addFlow(java.lang.Class<?> argumentType)
GovernanceSourceContext
getGovernanceSourceContext()
Obtains theGovernanceSourceContext
.void
setExtensionInterface(java.lang.Class<I> extensionInterface)
Specifies the extension interface.void
setGovernanceFactory(GovernanceFactory<? extends I,F> governanceFactory)
Specifies theGovernanceFactory
.
-
-
-
Method Detail
-
getGovernanceSourceContext
GovernanceSourceContext getGovernanceSourceContext()
Obtains theGovernanceSourceContext
.- Returns:
GovernanceSourceContext
.
-
setGovernanceFactory
void setGovernanceFactory(GovernanceFactory<? extends I,F> governanceFactory)
Specifies theGovernanceFactory
.- Parameters:
governanceFactory
-GovernanceFactory
.
-
setExtensionInterface
void setExtensionInterface(java.lang.Class<I> extensionInterface)
Specifies the extension interface.- Parameters:
extensionInterface
- Extension interface.
-
addFlow
AbstractGovernanceSource.Labeller addFlow(F key, java.lang.Class<?> argumentType)
Adds a requiredFlow
identified by the key.- Parameters:
key
-Enum
to identify theFlow
.argumentType
- Type of argument passed to theFlow
.- Returns:
AbstractGovernanceSource.Labeller
to possibly label theFlow
.
-
addFlow
AbstractGovernanceSource.Labeller addFlow(java.lang.Class<?> argumentType)
- Parameters:
argumentType
- Type of argument passed to theFlow
.- Returns:
AbstractGovernanceSource.Labeller
to possibly label theFlow
.
-
addEscalation
void addEscalation(java.lang.Class<?> escalationType)
Adds a potential escalation from aGovernanceActivity
.- Parameters:
escalationType
- Type of escalation.
-
-