Class Server
- java.lang.Object
-
- com.djrapitops.plan.identification.Server
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Server other)
boolean
equals(java.lang.Object o)
java.util.Optional<java.lang.Integer>
getId()
java.lang.String
getIdentifiableName()
static java.lang.String
getIdentifiableName(java.lang.String name, int id)
java.lang.String
getName()
java.util.UUID
getUuid()
java.lang.String
getWebAddress()
int
hashCode()
boolean
isNotProxy()
boolean
isProxy()
void
setId(int id)
void
setName(java.lang.String name)
void
setProxy(boolean proxy)
void
setWebAddress(java.lang.String webAddress)
java.lang.String
toString()
-
-
-
Method Detail
-
getId
public java.util.Optional<java.lang.Integer> getId()
-
setId
public void setId(int id)
-
getUuid
public java.util.UUID getUuid()
-
getName
public java.lang.String getName()
-
getIdentifiableName
public static java.lang.String getIdentifiableName(java.lang.String name, int id)
-
getIdentifiableName
public java.lang.String getIdentifiableName()
-
setName
public void setName(java.lang.String name)
-
getWebAddress
public java.lang.String getWebAddress()
-
setWebAddress
public void setWebAddress(java.lang.String webAddress)
-
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
-
compareTo
public int compareTo(Server other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<Server>
-
isProxy
public boolean isProxy()
-
setProxy
public void setProxy(boolean proxy)
-
isNotProxy
public boolean isNotProxy()
-
-