Package run.halo.gradle.openapi
Record Class AbstractOpenApiDocsTask.SpringDocGroupConfig
java.lang.Object
java.lang.Record
run.halo.gradle.openapi.AbstractOpenApiDocsTask.SpringDocGroupConfig
- Enclosing class:
- AbstractOpenApiDocsTask
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Returns the value of thedisplayNamerecord component.final booleanIndicates whether some other object is "equal to" this one.group()Returns the value of thegrouprecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thepathsToExcluderecord component.Returns the value of thepathsToMatchrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SpringDocGroupConfig
public SpringDocGroupConfig(String group, String displayName, List<String> pathsToMatch, List<String> pathsToExclude) Creates an instance of aSpringDocGroupConfigrecord class.- Parameters:
group- the value for thegrouprecord componentdisplayName- the value for thedisplayNamerecord componentpathsToMatch- the value for thepathsToMatchrecord componentpathsToExclude- the value for thepathsToExcluderecord component
-
-
Method Details
-
builder
-
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). -
group
Returns the value of thegrouprecord component.- Returns:
- the value of the
grouprecord component
-
displayName
Returns the value of thedisplayNamerecord component.- Returns:
- the value of the
displayNamerecord component
-
pathsToMatch
Returns the value of thepathsToMatchrecord component.- Returns:
- the value of the
pathsToMatchrecord component
-
pathsToExclude
Returns the value of thepathsToExcluderecord component.- Returns:
- the value of the
pathsToExcluderecord component
-