public abstract class ChainedPhaseRuleMappingInitializer extends Object implements VolcanoPlannerPhaseRuleMappingInitializer
VolcanoPlannerPhaseRuleMappingInitializer that allows additional
rules to be layered on top of those configured by a subordinate
VolcanoPlannerPhaseRuleMappingInitializer.| Constructor and Description |
|---|
ChainedPhaseRuleMappingInitializer(VolcanoPlannerPhaseRuleMappingInitializer subordinate) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
chainedInitialize(Map<VolcanoPlannerPhase,Set<String>> phaseRuleMap)
Extend this method to provide phase-to-rule mappings beyond what is
provided by this initializer's subordinate.
|
void |
initialize(Map<VolcanoPlannerPhase,Set<String>> phaseRuleMap)
Initializes a
VolcanoPlannerPhase-to-rule map. |
public ChainedPhaseRuleMappingInitializer(VolcanoPlannerPhaseRuleMappingInitializer subordinate)
public final void initialize(Map<VolcanoPlannerPhase,Set<String>> phaseRuleMap)
VolcanoPlannerPhaseRuleMappingInitializerVolcanoPlannerPhase-to-rule map. Rules are
specified by description (see above). When this method is called, the map
will already be pre-initialized with empty sets for each
VolcanoPlannerPhase. Implementations must not return having added or
removed keys from the map, although it is safe to temporarily add or
remove keys.initialize in interface VolcanoPlannerPhaseRuleMappingInitializerphaseRuleMap - a VolcanoPlannerPhase-to-rule mappublic abstract void chainedInitialize(Map<VolcanoPlannerPhase,Set<String>> phaseRuleMap)
When this method is called, the map will already be pre-initialized with empty sets for each VolcanoPlannerPhase. Implementations must not return having added or removed keys from the map, although it is safe to temporarily add or remove keys.
phaseRuleMap - the VolcanoPlannerPhase-rule description mapVolcanoPlannerPhaseRuleMappingInitializerCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.