Class ServerAttributes

java.lang.Object
com.uc4.api.objects.ServerAttributes

public class ServerAttributes extends Object
This class represents the "Attributes" tab of server objects.
  • Method Details

    • getPhrase

      public String getPhrase()
      Returns the Service Manager Phrase.
      Returns:
      Service Manager Phrase or an empty String, never null.
    • setPhrase

      public void setPhrase(String phrase)
      Sets the Service Manager Phrase.
      Parameters:
      phrase - Max 25 characters.
    • getName

      public String getName()
      Returns the name in the Service Manager.
      Returns:
      Name or an empty String if not set.
    • setName

      public void setName(String name)
      Sets the name of the entry in the Service Manager.
      Parameters:
      name - Max. 25 characters
    • getPort

      public int getPort()
      Returns the Service Manager port.
      Returns:
      Port
    • setPort

      public void setPort(int port)
      Sets the Service Manager port.
      Parameters:
      port - Port
    • isLinkedToServiceManager

      public boolean isLinkedToServiceManager()
      Returns true if the process is linked to the Service Manager, false otherwise.
      Returns:
      Linked to the Service Manager?
    • setLinkedToServiceManager

      public void setLinkedToServiceManager(boolean linkedToServiceManager)
      Sets the "Linked to the Service Manager" flag.
      Parameters:
      linkedToServiceManager - true if this server should be linked to the Service Manager.