Record Class AddonContainer
java.lang.Object
java.lang.Record
dev.nozyx.strider.loader.api.AddonContainer
- Record Components:
info- the addon's metadatajarPath- the path to the addon's JAR file
-
Constructor Summary
ConstructorsConstructorDescriptionAddonContainer(AddonInfo info, Path jarPath) Creates an instance of aAddonContainerrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.info()Returns the value of theinforecord component.jarPath()Returns the value of thejarPathrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AddonContainer
-
-
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). -
info
-
jarPath
-