Record Class AbstractRootProject.CommandData
java.lang.Object
java.lang.Record
org.jdrupes.builder.core.AbstractRootProject.CommandData
- Record Components:
patterns- the patternswithout- the withoutrequests- the requestsdescription- the description
- Enclosing class:
AbstractRootProject
public static record AbstractRootProject.CommandData(String[] patterns, String[] without, ResourceRequest<?>[] requests, String description)
extends Record
The Record CommandData.
-
Constructor Summary
ConstructorsConstructorDescriptionCommandData(String[] patterns, String[] without, ResourceRequest<?>[] requests, String description) Creates an instance of aCommandDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.String[]patterns()Returns the value of thepatternsrecord component.ResourceRequest<?>[]requests()Returns the value of therequestsrecord component.final StringtoString()Returns a string representation of this record class.String[]without()Returns the value of thewithoutrecord component.
-
Constructor Details
-
CommandData
public CommandData(String[] patterns, String[] without, ResourceRequest<?>[] requests, String description) Creates an instance of aCommandDatarecord class.- Parameters:
patterns- the value for thepatternsrecord componentwithout- the value for thewithoutrecord componentrequests- the value for therequestsrecord componentdescription- the value for thedescriptionrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
patterns
-
without
-
requests
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-