Package com.uc4.api.objects
Class ServerAttributes
- java.lang.Object
-
- com.uc4.api.objects.ServerAttributes
-
public class ServerAttributes extends java.lang.ObjectThis class represents the "Attributes" tab of server objects.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Returns the name in the Service Manager.java.lang.StringgetPhrase()Returns the Service Manager Phrase.intgetPort()Returns the Service Manager port.booleanisLinkedToServiceManager()Returnstrueif the process is linked to the Service Manager, false otherwise.voidsetLinkedToServiceManager(boolean linkedToServiceManager)Sets the "Linked to the Service Manager" flag.voidsetName(java.lang.String name)Sets the name of the entry in the Service Manager.voidsetPhrase(java.lang.String phrase)Sets the Service Manager Phrase.voidsetPort(int port)Sets the Service Manager port.
-
-
-
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()
Returnstrueif 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.
-
-