Class AgentAssignmentFilter.Item

java.lang.Object
com.uc4.api.objects.AgentAssignmentFilter.Item
Enclosing class:
AgentAssignmentFilter

public static class AgentAssignmentFilter.Item extends Object
This class represents a row in the filter table.
  • Constructor Details

    • Item

      public Item(String name, String hostType)
      Creates a new filter item.
      Parameters:
      name - Name
      hostType - Host type
  • Method Details

    • getName

      public String getName()
      Returns:
      Name of the Agent or filter for several Agents
    • setName

      public void setName(String name)
      Sets the name of the Agent or filter for several Agents. Wildcards are allowed.
      Parameters:
      name - Agent name, max 32 characters
    • getHostType

      public String getHostType()
      Returns:
      Type of Agent
    • setHostType

      public void setHostType(String hostType)
      Sets the type of this Agent.
      Parameters:
      hostType - Type of the Agent, max 8 characters
    • getVersion

      public String getVersion()
      Returns:
      Agent version including hotfix level
    • setVersion

      public void setVersion(String version)
      Sets the Agent version including hotfix level.
      Parameters:
      version - Version of the Agent, wildcards * and ? are allowed.
    • getHardware

      public String getHardware()
      Returns:
      Computer hardware information (e.g., system type, number of processors, processor type)
    • setHardware

      public void setHardware(String hardware)
      Sets the value of the hardware field (e.g., system type, number of processors, processor type).
      Parameters:
      hardware - Computer hardware information, max 32 characters
    • getSoftware

      public String getSoftware()
      Returns:
      Computer's OS
    • setSoftware

      public void setSoftware(String software)
      Sets the value of the software field.
      Parameters:
      software - Computer's OS, max 32 characters
    • getSoftwareVersion

      public String getSoftwareVersion()
      Returns:
      Software Version
    • setSoftwareVersion

      public void setSoftwareVersion(String softwareVersion)
      Sets the version of the software.
      Parameters:
      softwareVersion - OS version, max 32 characters
    • getRole

      public String getRole()
      Returns:
      Agent role
    • setRole

      public void setRole(String role)
      Selects the Agent role, this must be a value defined in UC_EX_HOST_ROLE.
      Parameters:
      role - Role of the Agent
    • getIpAddress

      public String getIpAddress()
      Returns:
      Agent's TCP/IP address
    • setIpAddress

      public void setIpAddress(String ipAddress)
      Sets the Agent's TCP/IP address.
      Parameters:
      ipAddress - IP Address, max 64 characters
    • getLicenseCategory

      @Deprecated public String getLicenseCategory()
      Deprecated.
      the license check has been removed in version 12.2 and higher
      Returns the name of the license category which has been assigned to the Agent.
      Returns:
      License category
    • setLicenseCategory

      @Deprecated public void setLicenseCategory(String licenseCategory)
      Deprecated.
      the license check has been removed in version 12.2 and higher
      Sets the name of the license category which has been assigned to the Agent.
      Parameters:
      licenseCategory - License category, max 32 characters
    • isNot

      public boolean isNot()
      Returns the value of the "NOT" column.
      Returns:
      true if this selection should be excluded.
    • setNot

      public void setNot(boolean not)
      Set the value to true if you want to use the filter settings of this line to exclude Agents (instead of selecting them). Example: You want to assign all Windows Agents except for WIN01. First create a line in which you filter all Windows Agents. Then insert a second line in which you select the Agent WIN01 and activate the checkbox in the column Not.
      Parameters:
      not - true if this selection should be excluded.