EffectivePolicyModifier, PolicyMapExtenderpublic abstract class PolicyMapMutator extends Object
| Modifier and Type | Method | 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.
|
public void connect(PolicyMap map)
map - the policy map instance that will be mutable by this mutator.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.Copyright © 2006–2018 Oracle Corporation. All rights reserved.