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 aLoadedCoreExtension
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecoreExtension
record component.entry()
Returns the value of theentry
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
LoadedCoreExtension
Creates an instance of aLoadedCoreExtension
record class.- Parameters:
coreExtension
- the value for thecoreExtension
record componententry
- the value for theentry
record 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 thecoreExtension
record component.- Returns:
- the value of the
coreExtension
record component
-
entry
-