Record Class Extension
java.lang.Object
java.lang.Record
io.quarkus.annotation.processor.documentation.config.model.Extension
- All Implemented Interfaces:
Comparable<Extension>
public record Extension(String groupId, String artifactId, String name, Extension.NameSource nameSource, boolean commonOrInternal, String guideUrl, boolean splitOnConfigRootDescription, boolean detected)
extends Record
implements Comparable<Extension>
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theartifactIdrecord component.booleanReturns the value of thecommonOrInternalrecord component.intstatic Extensionbooleandetected()Returns the value of thedetectedrecord component.booleanIndicates whether some other object is "equal to" this one.groupId()Returns the value of thegroupIdrecord component.guideUrl()Returns the value of theguideUrlrecord component.inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.Returns the value of thenameSourcerecord component.static Extensionof(String groupId, String artifactId, String name, Extension.NameSource nameSource, String guideUrl, boolean splitOnConfigRootDescription) booleanReturns the value of thesplitOnConfigRootDescriptionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Extension
public Extension(String groupId, String artifactId, String name, Extension.NameSource nameSource, boolean commonOrInternal, String guideUrl, boolean splitOnConfigRootDescription, boolean detected) Creates an instance of aExtensionrecord class.- Parameters:
groupId- the value for thegroupIdrecord componentartifactId- the value for theartifactIdrecord componentname- the value for thenamerecord componentnameSource- the value for thenameSourcerecord componentcommonOrInternal- the value for thecommonOrInternalrecord componentguideUrl- the value for theguideUrlrecord componentsplitOnConfigRootDescription- the value for thesplitOnConfigRootDescriptionrecord componentdetected- the value for thedetectedrecord component
-
-
Method Details
-
of
-
createNotDetected
-
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 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 '=='. -
normalizeCommonOrInternal
-
compareTo
- Specified by:
compareToin interfaceComparable<Extension>
-
groupId
Returns the value of thegroupIdrecord component.- Returns:
- the value of the
groupIdrecord component
-
artifactId
Returns the value of theartifactIdrecord component.- Returns:
- the value of the
artifactIdrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
nameSource
Returns the value of thenameSourcerecord component.- Returns:
- the value of the
nameSourcerecord component
-
commonOrInternal
public boolean commonOrInternal()Returns the value of thecommonOrInternalrecord component.- Returns:
- the value of the
commonOrInternalrecord component
-
guideUrl
Returns the value of theguideUrlrecord component.- Returns:
- the value of the
guideUrlrecord component
-
splitOnConfigRootDescription
public boolean splitOnConfigRootDescription()Returns the value of thesplitOnConfigRootDescriptionrecord component.- Returns:
- the value of the
splitOnConfigRootDescriptionrecord component
-
detected
public boolean detected()Returns the value of thedetectedrecord component.- Returns:
- the value of the
detectedrecord component
-