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
ConstructorsConstructorDescriptionBulkActionExecutionOptions(boolean recordProgressAndIterationStatistics, boolean privileged, boolean executionPhase) Creates an instance of aBulkActionExecutionOptionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic BulkActionExecutionOptionscreate()final booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of theexecutionPhaserecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theprivilegedrecord component.booleanReturns the value of therecordProgressAndIterationStatisticsrecord component.final StringtoString()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 aBulkActionExecutionOptionsrecord class.- Parameters:
recordProgressAndIterationStatistics- the value for therecordProgressAndIterationStatisticsrecord componentprivileged- the value for theprivilegedrecord componentexecutionPhase- the value for theexecutionPhaserecord 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 therecordProgressAndIterationStatisticsrecord component.- Returns:
- the value of the
recordProgressAndIterationStatisticsrecord component
-
privileged
public boolean privileged()Returns the value of theprivilegedrecord component.- Returns:
- the value of the
privilegedrecord component
-
executionPhase
public boolean executionPhase()Returns the value of theexecutionPhaserecord component.- Returns:
- the value of the
executionPhaserecord component
-