Record Class ExtensionModule
java.lang.Object
java.lang.Record
io.quarkus.annotation.processor.documentation.config.model.ExtensionModule
public record ExtensionModule(String groupId, String artifactId, ExtensionModule.ExtensionModuleType type, Extension extension, boolean detected)
extends Record
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionExtensionModule(String groupId, String artifactId, ExtensionModule.ExtensionModuleType type, Extension extension, boolean detected) Creates an instance of aExtensionModulerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theartifactIdrecord component.static ExtensionModulebooleandetected()Returns the value of thedetectedrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theextensionrecord component.groupId()Returns the value of thegroupIdrecord component.final inthashCode()Returns a hash code value for this object.static ExtensionModuleof(String groupId, String artifactId, ExtensionModule.ExtensionModuleType type, Extension extension) final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
ExtensionModule
public ExtensionModule(String groupId, String artifactId, ExtensionModule.ExtensionModuleType type, Extension extension, boolean detected) Creates an instance of aExtensionModulerecord class.- Parameters:
groupId- the value for thegroupIdrecord componentartifactId- the value for theartifactIdrecord componenttype- the value for thetyperecord componentextension- the value for theextensionrecord componentdetected- the value for thedetectedrecord component
-
-
Method Details
-
createNotDetected
-
of
public static ExtensionModule of(String groupId, String artifactId, ExtensionModule.ExtensionModuleType type, Extension extension) -
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
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
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
extension
Returns the value of theextensionrecord component.- Returns:
- the value of the
extensionrecord component
-
detected
public boolean detected()Returns the value of thedetectedrecord component.- Returns:
- the value of the
detectedrecord component
-