public class PolicyContextParameters
extends java.lang.Object
Example: import ---> JAXR-LCM ---> PolicyEngine ---> Policy executionTo pass a parameter instance, use from the client:
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONTEXT_QUALIFIER |
Constructor and Description |
---|
PolicyContextParameters()
Constructs PolicyContextParameters object
|
Modifier and Type | Method and Description |
---|---|
boolean |
canSkipRemoveStateValidation()
Checks whether the remove state validation can be skipped.
|
boolean |
isKeepLCMState()
Checks whether the current LCM state was kept.
|
void |
setCanSkipRemoveStateValidation(boolean canSkipRemoveStateValidation)
Sets LCM state validation.
|
void |
setKeepLCMState(boolean keepLCMState)
Sets the LCM state after import.
|
public static final java.lang.String CONTEXT_QUALIFIER
public PolicyContextParameters()
public final void setKeepLCMState(boolean keepLCMState)
keepLCMState
- true
: keep the LCM state ; false
: set to initial LCM statepublic boolean isKeepLCMState()
true
: keeping the LCM state ; false
: set to initial LCM statepublic final void setCanSkipRemoveStateValidation(boolean canSkipRemoveStateValidation)
canSkipRemoveStateValidation
- true
: to skip the remove state validationpublic boolean canSkipRemoveStateValidation()
true
: to skip the remove state validation