Record Class Parameters.ServerParameters
java.lang.Object
java.lang.Record
com.djrapitops.plan.extension.implementation.providers.Parameters.ServerParameters
- All Implemented Interfaces:
Parameters
- Enclosing interface:
Parameters
public static record Parameters.ServerParameters(ServerUUID serverUUID)
extends Record
implements Parameters
-
Nested Class Summary
Nested classes/interfaces inherited from interface Parameters
Parameters.GroupParameters, Parameters.PlayerParameters, Parameters.ServerParameters -
Constructor Summary
ConstructorsConstructorDescriptionServerParameters(ServerUUID serverUUID) Creates an instance of aServerParametersrecord 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 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
-
ServerParameters
Creates an instance of aServerParametersrecord class.- Parameters:
serverUUID- the value for theserverUUIDrecord 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
-
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
-