Class ServerAttributes


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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Returns the name in the Service Manager.
      java.lang.String getPhrase()
      Returns the Service Manager Phrase.
      int getPort()
      Returns the Service Manager port.
      boolean isLinkedToServiceManager()
      Returns true if the process is linked to the Service Manager, false otherwise.
      void setLinkedToServiceManager​(boolean linkedToServiceManager)
      Sets the "Linked to the Service Manager" flag.
      void setName​(java.lang.String name)
      Sets the name of the entry in the Service Manager.
      void setPhrase​(java.lang.String phrase)
      Sets the Service Manager Phrase.
      void setPort​(int port)
      Sets the Service Manager port.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getPhrase

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

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

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

        public void setName​(java.lang.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.