public abstract class ChainedPhaseRuleMappingInitializer extends java.lang.Object implements VolcanoPlannerPhaseRuleMappingInitializer
VolcanoPlannerPhaseRuleMappingInitializer
that allows additional
rules to be layered on top of those configured by a subordinate
VolcanoPlannerPhaseRuleMappingInitializer
.Modifier and Type | Field and Description |
---|---|
private VolcanoPlannerPhaseRuleMappingInitializer |
subordinate |
Constructor and Description |
---|
ChainedPhaseRuleMappingInitializer(VolcanoPlannerPhaseRuleMappingInitializer subordinate) |
Modifier and Type | Method and Description |
---|---|
abstract void |
chainedInitialize(java.util.Map<VolcanoPlannerPhase,java.util.Set<java.lang.String>> phaseRuleMap)
Extend this method to provide phase-to-rule mappings beyond what is
provided by this initializer's subordinate.
|
void |
initialize(java.util.Map<VolcanoPlannerPhase,java.util.Set<java.lang.String>> phaseRuleMap)
Initializes a
VolcanoPlannerPhase -to-rule map. |
private final VolcanoPlannerPhaseRuleMappingInitializer subordinate
public ChainedPhaseRuleMappingInitializer(VolcanoPlannerPhaseRuleMappingInitializer subordinate)
public final void initialize(java.util.Map<VolcanoPlannerPhase,java.util.Set<java.lang.String>> phaseRuleMap)
VolcanoPlannerPhaseRuleMappingInitializer
VolcanoPlannerPhase
-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 VolcanoPlannerPhaseRuleMappingInitializer
phaseRuleMap
- a VolcanoPlannerPhase
-to-rule mappublic abstract void chainedInitialize(java.util.Map<VolcanoPlannerPhase,java.util.Set<java.lang.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 mapVolcanoPlannerPhaseRuleMappingInitializer
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.