public final class LoadCacheContext extends Object
Constructor and Description |
---|
LoadCacheContext(com.onwbp.adaptation.AdaptationTable table,
Locale locale)
Enables execution of matching operations outside an existing procedure.
|
Modifier and Type | Method and Description |
---|---|
void |
addMatchingPolicyCode(String code)
Defines the matching policy to load.
|
Locale |
getLocale() |
List<String> |
getMatchingPolicyCodes() |
com.onwbp.adaptation.AdaptationTable |
getTable() |
String |
getWorkflowContext()
Specifies whether the cache for the workflow context must be loaded.
|
boolean |
isDefaultOnly()
Determines whether the cache for the default policy must be loaded.
|
void |
setDefaultOnly(boolean defaultOnly) |
void |
setWorkflowContext(String workflowContext) |
public LoadCacheContext(com.onwbp.adaptation.AdaptationTable table, Locale locale)
public boolean isDefaultOnly()
true
then getMatchingPolicyCodes()
is ignored but getWorkflowContext()
is still used.public void setDefaultOnly(boolean defaultOnly)
public String getWorkflowContext()
public void setWorkflowContext(String workflowContext)
public void addMatchingPolicyCode(String code)
public Locale getLocale()
public com.onwbp.adaptation.AdaptationTable getTable()