Package com.evolveum.midpoint.model.api
Record Class BulkActionExecutionOptions
java.lang.Object
java.lang.Record
com.evolveum.midpoint.model.api.BulkActionExecutionOptions
public record BulkActionExecutionOptions(boolean recordProgressAndIterationStatistics, boolean privileged, boolean executionPhase)
extends Record
-
Constructor Summary
ConstructorDescriptionBulkActionExecutionOptions
(boolean recordProgressAndIterationStatistics, boolean privileged, boolean executionPhase) Creates an instance of aBulkActionExecutionOptions
record class. -
Method Summary
Modifier and TypeMethodDescriptionstatic BulkActionExecutionOptions
create()
final boolean
Indicates whether some other object is "equal to" this one.boolean
Returns the value of theexecutionPhase
record component.final int
hashCode()
Returns a hash code value for this object.boolean
Returns the value of theprivileged
record component.boolean
Returns the value of therecordProgressAndIterationStatistics
record component.final String
toString()
Returns a string representation of this record class.If true, authorizations are checked for execution phase only.The difference of "privileged", compared to the regular execution is in the default expression profile used.Should the executor do its own progress and iteration stats reporting? Used e.g.
-
Constructor Details
-
BulkActionExecutionOptions
public BulkActionExecutionOptions(boolean recordProgressAndIterationStatistics, boolean privileged, boolean executionPhase) Creates an instance of aBulkActionExecutionOptions
record class.- Parameters:
recordProgressAndIterationStatistics
- the value for therecordProgressAndIterationStatistics
record componentprivileged
- the value for theprivileged
record componentexecutionPhase
- the value for theexecutionPhase
record component
-
-
Method Details
-
create
-
withRecordProgressAndIterationStatistics
Should the executor do its own progress and iteration stats reporting? Used e.g. for non-iterative bulk actions in activities. -
withPrivileged
The difference of "privileged", compared to the regular execution is in the default expression profile used. Here, it isExpressionProfile.full()
even for unprivileged users. -
withExecutionPhase
If true, authorizations are checked for execution phase only. -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='. -
recordProgressAndIterationStatistics
public boolean recordProgressAndIterationStatistics()Returns the value of therecordProgressAndIterationStatistics
record component.- Returns:
- the value of the
recordProgressAndIterationStatistics
record component
-
privileged
public boolean privileged()Returns the value of theprivileged
record component.- Returns:
- the value of the
privileged
record component
-
executionPhase
public boolean executionPhase()Returns the value of theexecutionPhase
record component.- Returns:
- the value of the
executionPhase
record component
-