public abstract class PolicyMapMutator
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static PolicyLogger |
LOGGER |
private PolicyMap |
map |
| Constructor and Description |
|---|
PolicyMapMutator()
Creates a new instance of PolicyMapMutator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
connect(PolicyMap map)
The method is used to connect the policy map mutator instance to the map it should mutate.
|
void |
disconnect()
Disconnects the mutator from the policy map object it is connected to.
|
PolicyMap |
getMap()
Can be used to retrieve the policy map currently connected to this mutator.
|
boolean |
isConnected()
This method provides connection status information of the policy map mutator instance.
|
private static final PolicyLogger LOGGER
private PolicyMap map
PolicyMapMutator()
public void connect(PolicyMap map)
map - the policy map instance that will be mutable by this mutator.java.lang.IllegalStateException - in case this mutator object is already connected to a policy map.public PolicyMap getMap()
null if not connected.null if the mutator is not connected.isConnected(),
disconnect()public void disconnect()
public boolean isConnected()
true if the mutator instance is connected to a policy map, otherwise returns false.