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>
  • 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 a Extension record class.
      Parameters:
      groupId - the value for the groupId record component
      artifactId - the value for the artifactId record component
      name - the value for the name record component
      nameSource - the value for the nameSource record component
      commonOrInternal - the value for the commonOrInternal record component
      guideUrl - the value for the guideUrl record component
      splitOnConfigRootDescription - the value for the splitOnConfigRootDescription record component
      detected - the value for the detected record component
  • Method Details

    • of

      public static Extension of(String groupId, String artifactId, String name, Extension.NameSource nameSource, String guideUrl, boolean splitOnConfigRootDescription)
    • createNotDetected

      public static Extension createNotDetected()
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public boolean equals(Object obj)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      obj - the object with which to compare
      Returns:
      true if this object is the same as the obj argument; false otherwise.
    • normalizeCommonOrInternal

      public Extension normalizeCommonOrInternal()
    • compareTo

      public int compareTo(Extension other)
      Specified by:
      compareTo in interface Comparable<Extension>
    • groupId

      public String groupId()
      Returns the value of the groupId record component.
      Returns:
      the value of the groupId record component
    • artifactId

      public String artifactId()
      Returns the value of the artifactId record component.
      Returns:
      the value of the artifactId record component
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • nameSource

      public Extension.NameSource nameSource()
      Returns the value of the nameSource record component.
      Returns:
      the value of the nameSource record component
    • commonOrInternal

      public boolean commonOrInternal()
      Returns the value of the commonOrInternal record component.
      Returns:
      the value of the commonOrInternal record component
    • guideUrl

      public String guideUrl()
      Returns the value of the guideUrl record component.
      Returns:
      the value of the guideUrl record component
    • splitOnConfigRootDescription

      public boolean splitOnConfigRootDescription()
      Returns the value of the splitOnConfigRootDescription record component.
      Returns:
      the value of the splitOnConfigRootDescription record component
    • detected

      public boolean detected()
      Returns the value of the detected record component.
      Returns:
      the value of the detected record component