Record Class LoadedCoreExtension
java.lang.Object
java.lang.Record
org.apache.maven.cling.extensions.LoadedCoreExtension
- Record Components:
coreExtension- The extension configuration entry with location tracking.entry- The loaded entry with descriptor.
public record LoadedCoreExtension(CoreExtension coreExtension, CoreExtensionEntry entry)
extends Record
Represents a core extension that has been selected to be loaded.
-
Constructor Summary
ConstructorsConstructorDescriptionLoadedCoreExtension(CoreExtension coreExtension, CoreExtensionEntry entry) Creates an instance of aLoadedCoreExtensionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecoreExtensionrecord component.entry()Returns the value of theentryrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LoadedCoreExtension
Creates an instance of aLoadedCoreExtensionrecord class.- Parameters:
coreExtension- the value for thecoreExtensionrecord componententry- the value for theentryrecord 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). -
coreExtension
Returns the value of thecoreExtensionrecord component.- Returns:
- the value of the
coreExtensionrecord component
-
entry
-