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) firstClickOnly
(Boolean value) focusConflictResolution
(ConflictResolutionType focusConflictResolution) force()
static ModelExecuteOptions
static ModelExecuteOptions
fromRestOptions
(List<String> options) static @Nullable CachedShadowsUseType
getCachedShadowsUse
(ModelExecuteOptions 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
static boolean
static boolean
isFirstClickOnly
(ModelExecuteOptions options) static boolean
isForce
(ModelExecuteOptions options) static boolean
static boolean
isIsImport
(ModelExecuteOptions options) static boolean
isLimitPropagation
(ModelExecuteOptions options) static boolean
isNoCrypt
(ModelExecuteOptions options) static boolean
static boolean
isOverwrite
(ModelExecuteOptions options) static boolean
isPreAuthorized
(ModelExecuteOptions options) static boolean
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()
void
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) 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
-
getCachedShadowsUse
@Nullable public static @Nullable CachedShadowsUseType getCachedShadowsUse(ModelExecuteOptions options) -
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
-
operationStartPreAuthorized
-
operationStartPreAuthorized
-
isOperationStartPreAuthorized
-
getRequestBusinessContext
-
requestBusinessContext
public ModelExecuteOptions requestBusinessContext(OperationBusinessContextType requestBusinessContext) -
getRequestBusinessContext
-
getPartialProcessing
-
partialProcessing
-
getPartialProcessing
-
getInitialPartialProcessing
-
initialPartialProcessing
public ModelExecuteOptions initialPartialProcessing(PartialProcessingOptionsType initialPartialProcessing) -
getInitialPartialProcessing
-
firstClickOnly
-
firstClickOnly
-
isFirstClickOnly
-
getFocusConflictResolution
-
focusConflictResolution
-
getFocusConflictResolution
-
evaluateAllAssignmentRelationsOnRecompute
public ModelExecuteOptions evaluateAllAssignmentRelationsOnRecompute(Boolean evaluateAllAssignmentRelationsOnRecompute) -
evaluateAllAssignmentRelationsOnRecompute
-
isEvaluateAllAssignmentRelationsOnRecompute
-
getTracingProfile
-
tracingProfile
-
getTracingProfile
-
ignoreAssignmentPruning
-
ignoreAssignmentPruning
-
isIgnoreAssignmentPruning
-
previewPolicyRulesEnforcement
-
previewPolicyRulesEnforcement
-
isPreviewPolicyRulesEnforcement
-
toModelExecutionOptionsBean
-
toModelExecutionOptionsType
-
fromModelExecutionOptionsType
-
fromRestOptions
-
toString
-
clone
-
notEmpty
public boolean notEmpty() -
getOrCreatePartialProcessing
-
toGetOperationOptions
-