Class AgentGroupListItem


  • public class AgentGroupListItem
    extends java.lang.Object
    This class describes one item of the AgentGroup list in the system overview.
    • Constructor Summary

      Constructors 
      Constructor Description
      AgentGroupListItem​(com.uc4.util.XMLDocument doc, org.w3c.dom.Element row)
      Internal use only.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int getClient()
      Returns the client of the AgentGroup.
      java.lang.String getId()  
      java.lang.String getJclVariant()
      Returns the JCL variant of the host group.
      java.lang.String getMode()
      Returns the mode of the host group.
      UC4ObjectName getName()
      Returns the name of the host group.
      int getParallelTasks()
      Returns the number of parallel tasks or -1 if this proptery has not been set.
      int hashCode()  
      boolean isEnforced()
      Returns true if the task should even run when a host is inactive and getMode() returns "All".
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AgentGroupListItem

        public AgentGroupListItem​(com.uc4.util.XMLDocument doc,
                                  org.w3c.dom.Element row)
        Internal use only.
        Parameters:
        doc - XML Document
        row - Element
    • Method Detail

      • getClient

        public int getClient()
        Returns the client of the AgentGroup.
        Returns:
        Client
      • getId

        public java.lang.String getId()
        Returns:
        ID of the AgentGroup
      • isEnforced

        public boolean isEnforced()
        Returns true if the task should even run when a host is inactive and getMode() returns "All".
        Returns:
        True if the task should run when hosts are inactive, false otherwise
      • getJclVariant

        public java.lang.String getJclVariant()
        Returns the JCL variant of the host group.
        Returns:
        JCL Variant
      • getMode

        public java.lang.String getMode()
        Returns the mode of the host group. Possible return values
        • ANY
        • FIRST
        • NEXT
        • ALL
        • LOAD_DEPENDENT
        Returns:
        Mode
      • getName

        public UC4ObjectName getName()
        Returns the name of the host group.
        Returns:
        Name
      • getParallelTasks

        public int getParallelTasks()
        Returns the number of parallel tasks or -1 if this proptery has not been set.
        Returns:
        Parallel tasks
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object