com.softwareag.centrasite.policy.api
Class PolicyContextParameters

java.lang.Object
  extended by com.softwareag.centrasite.policy.api.PolicyContextParameters

public class PolicyContextParameters
extends java.lang.Object

Class for transfering any parameters from a client to a policy execution item.

 Example:   import  --->  JAXR-LCM --->  PolicyEngine  --->  Policy execution
 
To pass a parameter instance, use from the client:
PolicyClient.setParameterContext(PolicyContextParameters.CONTEXT_QUALIFIER, new PolicyContextParameters());


Field Summary
static java.lang.String CONTEXT_QUALIFIER
           
 
Constructor Summary
PolicyContextParameters()
           
 
Method Summary
 boolean canSkipRemoveStateValidation()
           
 boolean isKeepLCMState()
           
 void setCanSkipRemoveStateValidation(boolean canSkipRemoveStateValidation)
           
 void setKeepLCMState(boolean keepLCMState)
          Set LCM state after import.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTEXT_QUALIFIER

public static final java.lang.String CONTEXT_QUALIFIER
See Also:
Constant Field Values
Constructor Detail

PolicyContextParameters

public PolicyContextParameters()
Method Detail

setKeepLCMState

public final void setKeepLCMState(boolean keepLCMState)
Set LCM state after import. The policy can pick and decide whether to keep the current LCM state or to reset to initial.

Parameters:
keepLCMState - true: keep the LCM state ; false: set to initial LCM state

isKeepLCMState

public boolean isKeepLCMState()

setCanSkipRemoveStateValidation

public final void setCanSkipRemoveStateValidation(boolean canSkipRemoveStateValidation)

canSkipRemoveStateValidation

public boolean canSkipRemoveStateValidation()