Package com.evolveum.midpoint.gui.impl.page.admin.role.mining.page.panel.outlier.panel.categorization
Record Class CategorySelectionProvider.CategoryData
java.lang.Object
java.lang.Record
com.evolveum.midpoint.gui.impl.page.admin.role.mining.page.panel.outlier.panel.categorization.CategorySelectionProvider.CategoryData
- Enclosing class:
- CategorySelectionProvider
public static record CategorySelectionProvider.CategoryData(String helpKey, int count, ProgressBar.State state, String labelKey, String cssClass)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionCategoryData(String helpKey, int count, ProgressBar.State state, String labelKey, String cssClass) Creates an instance of aCategoryDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionintcount()Returns the value of thecountrecord component.cssClass()Returns the value of thecssClassrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.helpKey()Returns the value of thehelpKeyrecord component.labelKey()Returns the value of thelabelKeyrecord component.state()Returns the value of thestaterecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CategoryData
public CategoryData(String helpKey, int count, ProgressBar.State state, String labelKey, String cssClass) Creates an instance of aCategoryDatarecord class.- Parameters:
helpKey- the value for thehelpKeyrecord componentcount- the value for thecountrecord componentstate- the value for thestaterecord componentlabelKey- the value for thelabelKeyrecord componentcssClass- the value for thecssClassrecord component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
helpKey
Returns the value of thehelpKeyrecord component.- Returns:
- the value of the
helpKeyrecord component
-
count
public int count()Returns the value of thecountrecord component.- Returns:
- the value of the
countrecord component
-
state
Returns the value of thestaterecord component.- Returns:
- the value of the
staterecord component
-
labelKey
Returns the value of thelabelKeyrecord component.- Returns:
- the value of the
labelKeyrecord component
-
cssClass
Returns the value of thecssClassrecord component.- Returns:
- the value of the
cssClassrecord component
-