Class Server

java.lang.Object
com.djrapitops.plan.identification.Server
All Implemented Interfaces:
Comparable<Server>

public class Server extends Object implements Comparable<Server>
Represents a Server that is running Plan.
  • Constructor Details

  • Method Details

    • getId

      public Optional<Integer> getId()
    • setId

      public void setId(int id)
    • getUuid

      public ServerUUID getUuid()
    • getName

      public String getName()
    • getIdentifiableName

      public static String getIdentifiableName(String name, int id)
    • getIdentifiableName

      public String getIdentifiableName()
    • setName

      public void setName(String name)
    • getWebAddress

      public String getWebAddress()
    • setWebAddress

      public void setWebAddress(String webAddress)
    • getPlanVersion

      public String getPlanVersion()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • compareTo

      public int compareTo(Server other)
      Specified by:
      compareTo in interface Comparable<Server>
    • isProxy

      public boolean isProxy()
    • setProxy

      public void setProxy(boolean proxy)
    • isNotProxy

      public boolean isNotProxy()