Methods Summary |
---|
void | connect(PolicyMap map)The method is used to connect the policy map mutator instance to the map it should mutate.
if (isConnected()) {
throw LOGGER.logSevereException(new IllegalStateException(LocalizationMessages.WSP_0044_POLICY_MAP_MUTATOR_ALREADY_CONNECTED()));
}
this.map = map;
|
public void | disconnect()Disconnects the mutator from the policy map object it is connected to. Method must be called prior to connecting this
mutator instance to another policy map.
This operation is irreversible: you cannot connect the mutator to the same policy map instance once you disconnect from it.
Multiple consequent calls of this method will have no effect.
this.map = null;
|
public PolicyMap | getMap()Can be used to retrieve the policy map currently connected to this mutator. Will return {@code null} if not connected.
return this.map;
|
public boolean | isConnected()This method provides connection status information of the policy map mutator instance.
return this.map != null;
|