Record Class BulkActionProfile
java.lang.Object
java.lang.Record
com.evolveum.midpoint.schema.expression.BulkActionProfile
- All Implemented Interfaces:
- Serializable
public record BulkActionProfile(@NotNull String action, @NotNull AccessDecision decision)
extends Record
implements Serializable
Specifies limitations on the use of a particular bulk action (e.g. assign, unassign, etc).
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionBulkActionProfile(@NotNull String action, @NotNull AccessDecision decision) Creates an instance of aBulkActionProfilerecord class.
- 
Method SummaryModifier and TypeMethodDescription@NotNull Stringaction()Returns the value of theactionrecord component.@NotNull AccessDecisiondecision()Returns the value of thedecisionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static BulkActionProfileof(@NotNull BulkActionProfileType bean) final StringtoString()Returns a string representation of this record class.
- 
Constructor Details- 
BulkActionProfilepublic BulkActionProfile(@NotNull @NotNull String action, @NotNull @NotNull AccessDecision decision) Creates an instance of aBulkActionProfilerecord class.- Parameters:
- action- the value for the- actionrecord component
- decision- the value for the- decisionrecord component
 
 
- 
- 
Method Details- 
ofpublic static BulkActionProfile of(@NotNull @NotNull BulkActionProfileType bean) throws ConfigurationException - Throws:
- ConfigurationException
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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 withObjects::equals(Object,Object).
- 
actionReturns the value of theactionrecord component.- Returns:
- the value of the actionrecord component
 
- 
decisionReturns the value of thedecisionrecord component.- Returns:
- the value of the decisionrecord component
 
 
-