Package io.quarkus.devui.deployment.menu
Record Class WorkspaceProcessor.WorkspaceAction
java.lang.Object
java.lang.Record
io.quarkus.devui.deployment.menu.WorkspaceProcessor.WorkspaceAction
- Enclosing class:
- WorkspaceProcessor
-
Constructor Summary
ConstructorsConstructorDescriptionWorkspaceAction(String id, String label, Optional<Pattern> pattern, Display display, DisplayType displayType) Creates an instance of aWorkspaceActionrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondisplay()Returns the value of thedisplayrecord component.Returns the value of thedisplayTyperecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.label()Returns the value of thelabelrecord component.pattern()Returns the value of thepatternrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
WorkspaceAction
WorkspaceAction(String id, String label, Optional<Pattern> pattern, Display display, DisplayType displayType) Creates an instance of aWorkspaceActionrecord class.- Parameters:
id- the value for theidrecord componentlabel- the value for thelabelrecord componentpattern- the value for thepatternrecord componentdisplay- the value for thedisplayrecord componentdisplayType- the value for thedisplayTyperecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
label
Returns the value of thelabelrecord component.- Returns:
- the value of the
labelrecord component
-
pattern
Returns the value of thepatternrecord component.- Returns:
- the value of the
patternrecord component
-
display
Returns the value of thedisplayrecord component.- Returns:
- the value of the
displayrecord component
-
displayType
Returns the value of thedisplayTyperecord component.- Returns:
- the value of the
displayTyperecord component
-