Record Class OpResult.Options
java.lang.Object
java.lang.Record
com.evolveum.midpoint.gui.api.component.result.OpResult.Options
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- OpResult
public static record OpResult.Options(boolean hideSuccess, boolean hideInProgress, boolean hideTaskLinks)
extends Record
implements Serializable
Options for showing 
OpResult objects.- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionOptions(boolean hideSuccess, boolean hideInProgress, boolean hideTaskLinks) Creates an instance of aOptionsrecord class.
- 
Method SummaryModifier and TypeMethodDescriptionstatic OpResult.Optionscreate()final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thehideInProgressrecord component.booleanReturns the value of thehideSuccessrecord component.booleanReturns the value of thehideTaskLinksrecord component.final StringtoString()Returns a string representation of this record class.withHideInProgress(boolean value) `IN_PROGRESS` messages are hidden.withHideSuccess(boolean value) `SUCCESS` messages are hidden.withHideTaskLinks(boolean value) Information about background tasks is not clickable.
- 
Constructor Details- 
Optionspublic Options(boolean hideSuccess, boolean hideInProgress, boolean hideTaskLinks) Creates an instance of aOptionsrecord class.- Parameters:
- hideSuccess- the value for the- hideSuccessrecord component
- hideInProgress- the value for the- hideInProgressrecord component
- hideTaskLinks- the value for the- hideTaskLinksrecord component
 
 
- 
- 
Method Details- 
create
- 
withHideSuccess`SUCCESS` messages are hidden.
- 
withHideInProgress`IN_PROGRESS` messages are hidden.
- 
withHideTaskLinksInformation about background tasks is not clickable. TODO better name?
- 
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 with '=='.
- 
hideSuccesspublic boolean hideSuccess()Returns the value of thehideSuccessrecord component.- Returns:
- the value of the hideSuccessrecord component
 
- 
hideInProgresspublic boolean hideInProgress()Returns the value of thehideInProgressrecord component.- Returns:
- the value of the hideInProgressrecord component
 
- 
hideTaskLinkspublic boolean hideTaskLinks()Returns the value of thehideTaskLinksrecord component.- Returns:
- the value of the hideTaskLinksrecord component
 
 
-