Record Class Parameters.GroupParameters
java.lang.Object
java.lang.Record
com.djrapitops.plan.extension.implementation.providers.Parameters.GroupParameters
- All Implemented Interfaces:
Parameters
- Enclosing interface:
Parameters
public static record Parameters.GroupParameters(ServerUUID serverUUID, String groupName)
extends Record
implements Parameters
-
Nested Class Summary
Nested classes/interfaces inherited from interface Parameters
Parameters.GroupParameters, Parameters.PlayerParameters, Parameters.ServerParameters -
Constructor Summary
ConstructorsConstructorDescriptionGroupParameters(ServerUUID serverUUID, String groupName) Creates an instance of aGroupParametersrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thegroupNamerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theserverUUIDrecord component.final StringtoString()Returns a string representation of this record class.usingOn(DataExtension extension, Method method) Methods inherited from interface Parameters
getPlayerUUID
-
Constructor Details
-
GroupParameters
Creates an instance of aGroupParametersrecord class.- Parameters:
serverUUID- the value for theserverUUIDrecord componentgroupName- the value for thegroupNamerecord component
-
-
Method Details
-
getServerUUID
- Specified by:
getServerUUIDin interfaceParameters
-
usingOn
public Object usingOn(DataExtension extension, Method method) throws InvocationTargetException, IllegalAccessException - Specified by:
usingOnin interfaceParameters- Throws:
InvocationTargetExceptionIllegalAccessException
-
getGroupName
-
getMethodType
- Specified by:
getMethodTypein interfaceParameters
-
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). -
serverUUID
Returns the value of theserverUUIDrecord component.- Returns:
- the value of the
serverUUIDrecord component
-
groupName
Returns the value of thegroupNamerecord component.- Returns:
- the value of the
groupNamerecord component
-