Package com.evolveum.midpoint.model.api
Class ModelExecuteOptions
java.lang.Object
com.evolveum.midpoint.schema.AbstractOptions
com.evolveum.midpoint.model.api.ModelExecuteOptions
- All Implemented Interfaces:
Serializable
,Cloneable
Options for execution of Model operations. These options influence the way how the operations are executed.
The options are not mandatory. All options have reasonable default values. They may not be specified at all.
- Author:
- semancik
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
static ModelExecuteOptions
create()
Assumes thatPrismContext.get()
can be called.static ModelExecuteOptions
create
(ModelExecuteOptions original) static ModelExecuteOptions
create
(PrismContext ignored) Deprecated, for removal: This API element is subject to removal in a future version.static ModelExecuteOptions
Deprecated.static ModelExecuteOptions
Deprecated.evaluateAllAssignmentRelationsOnRecompute
(Boolean evaluateAllAssignmentRelationsOnRecompute) executeImmediatelyAfterApproval
(Boolean executeImmediatelyAfterApproval) focusConflictResolution
(ConflictResolutionType focusConflictResolution) force()
static ModelExecuteOptions
static ModelExecuteOptions
fromRestOptions
(List<String> options) static <T> T
getExtensionItemRealValue
(ModelExecuteOptions options, ItemName name, Class<T> clazz) <T> T
getExtensionItemRealValue
(ItemName name, Class<T> clazz) static ConflictResolutionType
getForce()
static PartialProcessingOptionsType
static PartialProcessingOptionsType
getPartialProcessing
(ModelExecuteOptions options) getRaw()
static Boolean
getRaw
(ModelExecuteOptions options) static OperationBusinessContextType
static TracingProfileType
getTracingProfile
(ModelExecuteOptions options) ignoreAssignmentPruning
(Boolean value) initialPartialProcessing
(PartialProcessingOptionsType initialPartialProcessing) static boolean
is
(ModelExecuteOptions options, ItemName itemName) static boolean
is
(ModelExecuteOptions options, ItemName itemName, boolean defaultValue) static boolean
isAdvanceSequenceSafe
(@Nullable ModelExecuteOptions options) static boolean
isCreateOnDemandSafe
(@Nullable ModelExecuteOptions options) static boolean
static boolean
static boolean
isForce
(ModelExecuteOptions options) static boolean
static boolean
isIsImport
(ModelExecuteOptions options) static boolean
isLimitPropagation
(ModelExecuteOptions options) static boolean
isNoCrypt
(ModelExecuteOptions options) static boolean
isOverwrite
(ModelExecuteOptions options) static boolean
isPreAuthorized
(ModelExecuteOptions options) static boolean
isPushChanges
(ModelExecuteOptions options) static boolean
isRaw
(ModelExecuteOptions options) static boolean
isReconcile
(ModelExecuteOptions options) static boolean
isReconcileFocus
(ModelExecuteOptions options) static boolean
limitPropagation
(Boolean limitPropagation) boolean
notEmpty()
partialProcessing
(PartialProcessingOptionsType partialProcessing) void
preAuthorized
(Boolean value) pushChanges
(Boolean value) raw()
reconcileFocus
(Boolean reconcileFocus) reevaluateSearchFilters
(Boolean reevaluateSearchFilters) requestBusinessContext
(OperationBusinessContextType requestBusinessContext) setExtensionPropertyRealValues
(PrismContext prismContext, ItemName propertyName, Object... values) setIsImport
(Boolean isImport) simulationOptions
(SimulationOptionsType options) static GetOperationOptions
toGetOperationOptions
(ModelExecuteOptions modelOptions) static ModelExecuteOptionsType
toString()
tracingProfile
(TracingProfileType tracingProfile) Methods inherited from class com.evolveum.midpoint.schema.AbstractOptions
appendFlag, appendVal, removeLastComma
-
Constructor Details
-
ModelExecuteOptions
Deprecated. -
ModelExecuteOptions
public ModelExecuteOptions()
-
-
Method Details
-
create
Assumes thatPrismContext.get()
can be called. Which usually is, after midPoint is initialized. -
create
Deprecated, for removal: This API element is subject to removal in a future version. -
create
-
is
-
is
-
getExtensionItemRealValue
-
getExtensionItemRealValue
public static <T> T getExtensionItemRealValue(ModelExecuteOptions options, ItemName name, Class<T> clazz) -
setExtensionPropertyRealValues
public ModelExecuteOptions setExtensionPropertyRealValues(PrismContext prismContext, ItemName propertyName, Object... values) throws SchemaException - Throws:
SchemaException
-
getForce
-
force
-
force
-
isForce
-
getPushChanges
-
isPushChanges
-
pushChanges
-
pushChanges
-
getRaw
-
raw
-
raw
-
isRaw
-
getRaw
-
createRaw
Deprecated. -
getNoCrypt
-
noCrypt
-
isNoCrypt
-
getReconcile
-
reconcile
-
reconcile
-
isReconcile
-
createReconcile
Deprecated. -
reconcileFocus
-
reconcileFocus
-
isReconcileFocus
-
getOverwrite
-
overwrite
-
overwrite
-
isOverwrite
-
setIsImport
-
setIsImport
-
isIsImport
-
executeImmediatelyAfterApproval
-
executeImmediatelyAfterApproval
-
isExecuteImmediatelyAfterApproval
-
getLimitPropagation
-
limitPropagation
-
isLimitPropagation
-
reevaluateSearchFilters
-
isReevaluateSearchFilters
-
preAuthorized
-
preAuthorized
-
isPreAuthorized
-
getRequestBusinessContext
-
requestBusinessContext
public ModelExecuteOptions requestBusinessContext(OperationBusinessContextType requestBusinessContext) -
getRequestBusinessContext
-
getPartialProcessing
-
partialProcessing
-
getPartialProcessing
-
getInitialPartialProcessing
-
initialPartialProcessing
public ModelExecuteOptions initialPartialProcessing(PartialProcessingOptionsType initialPartialProcessing) -
getInitialPartialProcessing
-
getFocusConflictResolution
-
focusConflictResolution
-
getFocusConflictResolution
-
evaluateAllAssignmentRelationsOnRecompute
public ModelExecuteOptions evaluateAllAssignmentRelationsOnRecompute(Boolean evaluateAllAssignmentRelationsOnRecompute) -
evaluateAllAssignmentRelationsOnRecompute
-
isEvaluateAllAssignmentRelationsOnRecompute
-
getTracingProfile
-
tracingProfile
-
getTracingProfile
-
getSimulationOptions
-
isAdvanceSequenceSafe
-
isCreateOnDemandSafe
-
simulationOptions
-
ignoreAssignmentPruning
-
ignoreAssignmentPruning
-
isIgnoreAssignmentPruning
-
toModelExecutionOptionsBean
-
toModelExecutionOptionsType
-
fromModelExecutionOptionsType
-
fromRestOptions
-
toString
-
clone
-
notEmpty
public boolean notEmpty() -
getOrCreatePartialProcessing
-
toGetOperationOptions
-