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
public class ModelExecuteOptions extends AbstractOptions implements 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ModelExecuteOptions()
ModelExecuteOptions(PrismContext ignored)
Deprecated.
-
Method Summary
-
Methods inherited from class com.evolveum.midpoint.schema.AbstractOptions
appendFlag, appendVal, removeLastComma
-
-
-
-
Constructor Detail
-
ModelExecuteOptions
@Deprecated public ModelExecuteOptions(PrismContext ignored)
Deprecated.
-
ModelExecuteOptions
public ModelExecuteOptions()
-
-
Method Detail
-
create
public static ModelExecuteOptions create()
Assumes thatPrismContext.get()
can be called. Which usually is, after midPoint is initialized.
-
create
@Deprecated(forRemoval=true) public static ModelExecuteOptions create(PrismContext ignored)
Deprecated, for removal: This API element is subject to removal in a future version.
-
create
public static ModelExecuteOptions create(ModelExecuteOptions original)
-
is
public static boolean is(ModelExecuteOptions options, ItemName itemName)
-
is
public static boolean is(ModelExecuteOptions options, ItemName itemName, boolean defaultValue)
-
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
public Boolean getForce()
-
force
public ModelExecuteOptions force(Boolean force)
-
force
public ModelExecuteOptions force()
-
isForce
public static boolean isForce(ModelExecuteOptions options)
-
getPushChanges
public Boolean getPushChanges()
-
isPushChanges
public static boolean isPushChanges(ModelExecuteOptions options)
-
pushChanges
public ModelExecuteOptions pushChanges(Boolean value)
-
pushChanges
public ModelExecuteOptions pushChanges()
-
getRaw
public Boolean getRaw()
-
raw
public ModelExecuteOptions raw(Boolean raw)
-
raw
public ModelExecuteOptions raw()
-
isRaw
public static boolean isRaw(ModelExecuteOptions options)
-
getRaw
public static Boolean getRaw(ModelExecuteOptions options)
-
createRaw
@Deprecated public static ModelExecuteOptions createRaw()
Deprecated.
-
getNoCrypt
public Boolean getNoCrypt()
-
noCrypt
public ModelExecuteOptions noCrypt(Boolean noCrypt)
-
isNoCrypt
public static boolean isNoCrypt(ModelExecuteOptions options)
-
getReconcile
public Boolean getReconcile()
-
reconcile
public ModelExecuteOptions reconcile(Boolean reconcile)
-
reconcile
public ModelExecuteOptions reconcile()
-
isReconcile
public static boolean isReconcile(ModelExecuteOptions options)
-
createReconcile
@Deprecated public static ModelExecuteOptions createReconcile()
Deprecated.
-
reconcileFocus
public ModelExecuteOptions reconcileFocus(Boolean reconcileFocus)
-
reconcileFocus
public ModelExecuteOptions reconcileFocus()
-
isReconcileFocus
public static boolean isReconcileFocus(ModelExecuteOptions options)
-
getOverwrite
public Boolean getOverwrite()
-
overwrite
public ModelExecuteOptions overwrite(Boolean overwrite)
-
overwrite
public ModelExecuteOptions overwrite()
-
isOverwrite
public static boolean isOverwrite(ModelExecuteOptions options)
-
setIsImport
public ModelExecuteOptions setIsImport(Boolean isImport)
-
setIsImport
public ModelExecuteOptions setIsImport()
-
isIsImport
public static boolean isIsImport(ModelExecuteOptions options)
-
executeImmediatelyAfterApproval
public ModelExecuteOptions executeImmediatelyAfterApproval(Boolean executeImmediatelyAfterApproval)
-
executeImmediatelyAfterApproval
public ModelExecuteOptions executeImmediatelyAfterApproval()
-
isExecuteImmediatelyAfterApproval
public static boolean isExecuteImmediatelyAfterApproval(ModelExecuteOptions options)
-
getLimitPropagation
public Boolean getLimitPropagation()
-
limitPropagation
public ModelExecuteOptions limitPropagation(Boolean limitPropagation)
-
isLimitPropagation
public static boolean isLimitPropagation(ModelExecuteOptions options)
-
reevaluateSearchFilters
public ModelExecuteOptions reevaluateSearchFilters(Boolean reevaluateSearchFilters)
-
isReevaluateSearchFilters
public static boolean isReevaluateSearchFilters(ModelExecuteOptions options)
-
preAuthorized
public void preAuthorized(Boolean value)
-
preAuthorized
public ModelExecuteOptions preAuthorized()
-
isPreAuthorized
public static boolean isPreAuthorized(ModelExecuteOptions options)
-
getRequestBusinessContext
public OperationBusinessContextType getRequestBusinessContext()
-
requestBusinessContext
public ModelExecuteOptions requestBusinessContext(OperationBusinessContextType requestBusinessContext)
-
getRequestBusinessContext
public static OperationBusinessContextType getRequestBusinessContext(ModelExecuteOptions options)
-
getPartialProcessing
public PartialProcessingOptionsType getPartialProcessing()
-
partialProcessing
public ModelExecuteOptions partialProcessing(PartialProcessingOptionsType partialProcessing)
-
getPartialProcessing
public static PartialProcessingOptionsType getPartialProcessing(ModelExecuteOptions options)
-
getInitialPartialProcessing
public PartialProcessingOptionsType getInitialPartialProcessing()
-
initialPartialProcessing
public ModelExecuteOptions initialPartialProcessing(PartialProcessingOptionsType initialPartialProcessing)
-
getInitialPartialProcessing
public static PartialProcessingOptionsType getInitialPartialProcessing(ModelExecuteOptions options)
-
getFocusConflictResolution
public ConflictResolutionType getFocusConflictResolution()
-
focusConflictResolution
public ModelExecuteOptions focusConflictResolution(ConflictResolutionType focusConflictResolution)
-
getFocusConflictResolution
public static ConflictResolutionType getFocusConflictResolution(ModelExecuteOptions options)
-
evaluateAllAssignmentRelationsOnRecompute
public ModelExecuteOptions evaluateAllAssignmentRelationsOnRecompute(Boolean evaluateAllAssignmentRelationsOnRecompute)
-
evaluateAllAssignmentRelationsOnRecompute
public ModelExecuteOptions evaluateAllAssignmentRelationsOnRecompute()
-
isEvaluateAllAssignmentRelationsOnRecompute
public static boolean isEvaluateAllAssignmentRelationsOnRecompute(ModelExecuteOptions options)
-
getTracingProfile
public TracingProfileType getTracingProfile()
-
tracingProfile
public ModelExecuteOptions tracingProfile(TracingProfileType tracingProfile)
-
getTracingProfile
public static TracingProfileType getTracingProfile(ModelExecuteOptions options)
-
reconcileAffected
public ModelExecuteOptions reconcileAffected(Boolean value)
-
isReconcileAffected
public static boolean isReconcileAffected(ModelExecuteOptions options)
-
getSimulationOptions
public SimulationOptionsType getSimulationOptions()
-
isAdvanceSequenceSafe
public static boolean isAdvanceSequenceSafe(@Nullable @Nullable ModelExecuteOptions options)
-
isCreateOnDemandSafe
public static boolean isCreateOnDemandSafe(@Nullable @Nullable ModelExecuteOptions options)
-
simulationOptions
public ModelExecuteOptions simulationOptions(SimulationOptionsType options)
-
ignoreAssignmentPruning
public ModelExecuteOptions ignoreAssignmentPruning(Boolean value)
-
ignoreAssignmentPruning
public ModelExecuteOptions ignoreAssignmentPruning()
-
isIgnoreAssignmentPruning
public static boolean isIgnoreAssignmentPruning(ModelExecuteOptions options)
-
toModelExecutionOptionsBean
public static ModelExecuteOptionsType toModelExecutionOptionsBean(ModelExecuteOptions options)
-
toModelExecutionOptionsType
public ModelExecuteOptionsType toModelExecutionOptionsType()
-
fromModelExecutionOptionsType
public static ModelExecuteOptions fromModelExecutionOptionsType(ModelExecuteOptionsType bean)
-
fromRestOptions
public static ModelExecuteOptions fromRestOptions(List<String> options)
-
clone
public ModelExecuteOptions clone()
-
notEmpty
public boolean notEmpty()
-
getOrCreatePartialProcessing
public PartialProcessingOptionsType getOrCreatePartialProcessing()
-
toGetOperationOptions
public static GetOperationOptions toGetOperationOptions(ModelExecuteOptions modelOptions)
-
-