Class ServerIdentifier
- java.lang.Object
-
- com.djrapitops.plan.delivery.domain.ServerIdentifier
-
public class ServerIdentifier extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ServerIdentifier(ServerUUID serverUUID, ServerName serverName)
ServerIdentifier(ServerUUID uuid, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getName()
ServerUUID
getUuid()
int
hashCode()
boolean
isSame(ServerIdentifier that)
java.lang.String
toJson()
java.lang.String
toString()
-
-
-
Constructor Detail
-
ServerIdentifier
public ServerIdentifier(ServerUUID uuid, java.lang.String name)
-
ServerIdentifier
public ServerIdentifier(ServerUUID serverUUID, ServerName serverName)
-
-
Method Detail
-
getUuid
public ServerUUID getUuid()
-
getName
public java.lang.String getName()
-
isSame
public boolean isSame(ServerIdentifier that)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toJson
public java.lang.String toJson()
-
-