Package dev.plex
Record Class PlexLibraryManager.PluginLibraries
java.lang.Object
java.lang.Record
dev.plex.PlexLibraryManager.PluginLibraries
- Enclosing class:
PlexLibraryManager
-
Field Summary
Modifier and TypeFieldDescriptionThe field for thedependencies
record component.The field for therepositories
record component. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionStream
<org.eclipse.aether.graph.Dependency> Stream
<org.eclipse.aether.repository.RemoteRepository> Returns the value of thedependencies
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.Returns the value of therepositories
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
repositories
The field for therepositories
record component. -
dependencies
The field for thedependencies
record component.
-
-
Constructor Details
-
PluginLibraries
Creates an instance of aPluginLibraries
record class.- Parameters:
repositories
- the value for therepositories
record componentdependencies
- the value for thedependencies
record component
-
-
Method Details
-
asDependencies
-
asRepositories
-
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. All components in this record class are compared withObjects::equals(Object,Object)
. -
repositories
Returns the value of therepositories
record component.- Returns:
- the value of the
repositories
record component
-
dependencies
Returns the value of thedependencies
record component.- Returns:
- the value of the
dependencies
record component
-