Class HostAttributes

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

public class HostAttributes extends Object
This class represents the "Attributes" tab in HOST objects.
  • Constructor Details

    • HostAttributes

      protected HostAttributes(com.uc4.util.XMLDocument doc)
  • Method Details

    • getTrustedIPs

      public String getTrustedIPs()
      Returns a String containing all trusted IPs separated by semicolon. If your UC4 system runs with encryption, you may specify IP addresses (separated by semicolons) from which the Agent accepts non-encrypted connections. Communication to UC4 components such as Job messenger, Event Monitors (BS2000, OS/390) or Output Collector (NSK) takes place without encryption. By default, the Agent accepts non-encrypted messages from the local host (127.0.0.1) and its own IP address. If Event Monitors on OS/390 are used in LPARs on different computers, the relevant IP addresses must be specified here. Releasing individual IP addresses is only reasonable if the Automation Engine shall generally reject login attempts of former Agent versions.
      Returns:
      String containing all trusted IPs separated by semicolon
    • setTrustedIPs

      public void setTrustedIPs(String trustedIPs)
      Sets a String containing all trusted IPs separated by semicolon. If your system runs with encryption, you may specify IP addresses (separated by semicolons) from which the Agent accepts non-encrypted connections. Communication to components such as Job messenger, Event Monitors (BS2000, OS/390) or Output Collector (NSK) takes place without encryption. By default, the Agent accepts non-encrypted messages from the local host (127.0.0.1) and its own IP address. If Event Monitors on OS/390 are used in LPARs on different computers, the relevant IP addresses must be specified here. Releasing individual IP addresses is only reasonable if the Automation Engine shall generally reject login attempts of former Agent versions.
      Parameters:
      trustedIPs - String containing all trusted IPs separated by semicolon
    • getSmgrPhrase

      public String getSmgrPhrase()
      Returns the Service Manager Phrase.
      Returns:
      Service Manager Phrase
    • setSmgrPhrase

      public void setSmgrPhrase(String smgrPhrase)
      Sets the Service Manager Phrase. The Phrase is used for the Service Manager connection which is used to start Agents and Automation Engine processes.
      Parameters:
      smgrPhrase - Phrase, String with max. 25 characterers
    • getSmgrName

      public String getSmgrName()
      Returns:
      Name of the Service Manager
    • setSmgrName

      public void setSmgrName(String smgrName)
      Sets the name of the Service Manager. The name is used for the Service Manager connection which is used to start Agents and Automation Engine processes.
      Parameters:
      smgrName - Name of the Service Manager
    • getSmgrPort

      public int getSmgrPort()
      Returns the port of the Service Manager.
      Returns:
      Port
    • setSmgrPort

      public void setSmgrPort(int smgrPort)
      Sets the Service Manager port.
      Parameters:
      smgrPort - Port of the Service Manager
    • isLinkToSmgr

      public boolean isLinkToSmgr()
      Returns true if a link to the Service Manager has been enabled.
      Returns:
      true if the Agent is linked with a Service Manager
    • setLinkToSmgr

      public void setLinkToSmgr(boolean linkToSmgr)
      Enables or disables the link the Service Manager.
      Parameters:
      linkToSmgr - true if the link should be enabled, false otherwise.
    • getLicenseCategory

      @Deprecated public String getLicenseCategory()
      Deprecated.
      the license check has been removed in version 12.2 and higher
      Returns the License Category that is to be used by the Agent.
      Returns:
      License category which is used for this HOST.
    • store

      protected void store(com.uc4.util.XMLDocument doc, Element request)