Record Class PluginManager.ConfigInstance
java.lang.Object
java.lang.Record
com.zenith.plugin.PluginManager.ConfigInstance
- Enclosing class:
PluginManager
-
Constructor Summary
ConstructorsConstructorDescriptionConfigInstance(Object instance, Class<?> clazz, File file) Creates an instance of aConfigInstancerecord class. -
Method Summary
Modifier and TypeMethodDescriptionClass<?> clazz()Returns the value of theclazzrecord component.final booleanIndicates whether some other object is "equal to" this one.file()Returns the value of thefilerecord component.final inthashCode()Returns a hash code value for this object.instance()Returns the value of theinstancerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConfigInstance
-
-
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). -
instance
Returns the value of theinstancerecord component.- Returns:
- the value of the
instancerecord component
-
clazz
Returns the value of theclazzrecord component.- Returns:
- the value of the
clazzrecord component
-
file
Returns the value of thefilerecord component.- Returns:
- the value of the
filerecord component
-