Record Class PluginManager.EntityClaim
java.lang.Object
java.lang.Record
com.ultikits.ultitools.manager.PluginManager.EntityClaim
- Enclosing class:
PluginManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringThe field for thepluginNamerecord component.private final intThe field for thescopesrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateEntityClaim(String pluginName, int scopes) Creates an instance of aEntityClaimrecord 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.Returns the value of thepluginNamerecord component.intscopes()Returns the value of thescopesrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
pluginName
The field for thepluginNamerecord component. -
scopes
private final int scopesThe field for thescopesrecord component.
-
-
Constructor Details
-
EntityClaim
Creates an instance of aEntityClaimrecord class.- Parameters:
pluginName- the value for thepluginNamerecord componentscopes- the value for thescopesrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
pluginName
Returns the value of thepluginNamerecord component.- Returns:
- the value of the
pluginNamerecord component
-
scopes
public int scopes()Returns the value of thescopesrecord component.- Returns:
- the value of the
scopesrecord component
-