Class AgentList.Filter

java.lang.Object
com.uc4.communication.requests.AgentList.Filter
Enclosing class:
AgentList

public static class AgentList.Filter extends Object
Filter in the Agent list.
  • Constructor Details

    • Filter

      public Filter()
  • Method Details

    • setConnectedFilter

      public void setConnectedFilter(Boolean connected)
      Sets a filter for the connection status.
      Parameters:
      connected - true if running agents should be returned, false for Agents that are not connected or null to disable this filter.
    • getNameFilter

      public String getNameFilter()
      Returns the name filter of the Agent.
      Returns:
      Name filter or null if disabled
    • getAgentVersionFilter

      public String getAgentVersionFilter()
      Returns the version filter.
      Returns:
      Version with wildcards or null if this filter is disabled
    • getHardwareFilter

      public String getHardwareFilter()
      Returns the Hardware filter.
      Returns:
      Hardware filter with wildcards or null if this filter is disabled.
    • getSoftwareFilter

      public String getSoftwareFilter()
      Returns the Software filter.
      Returns:
      Software filter with wildcards or null if this filter is disabled.
    • getSoftwareVersionFilter

      public String getSoftwareVersionFilter()
      Returns the Software version filter.
      Returns:
      Software version with wildcards or null if this filter is disabled
    • getTcpIPAddressFilter

      public String getTcpIPAddressFilter()
      Returns the TCP/IP address filter.
      Returns:
      Filter with wildcards or null if disabled
    • getLicenseClassFilter

      @Deprecated public String getLicenseClassFilter()
      Deprecated.
      the license check has been removed in version 12.2 and higher
      Returns the license class filter.
      Returns:
      Filter or null if disabled
    • getLicenseCategoryFilter

      @Deprecated public String getLicenseCategoryFilter()
      Deprecated.
      the license check has been removed in version 12.2 and higher
      Returns the license category filter.
      Returns:
      Filter with wildcards or null if disabled
    • getRolesFilter

      public String getRolesFilter()
      Returns the roles filter.
      Returns:
      Roles filter with wildcards or null if this filter is disabled
    • getAuthenticatedFilter

      public Boolean getAuthenticatedFilter()
      Returns the authentication filter of the Agent.
      Returns:
      true for authenticated Agents only, false for agents that are not authenticated or null if this filter is disabled.
    • getLinkedToServiceManagerFilter

      public Boolean getLinkedToServiceManagerFilter()
      Returns the service manager link filter.
      Returns:
      true for Agents that are linked with the service manager, false for Agents that are not linked or null if there is no filter on the service manger link status.
    • getNetAreaFilter

      public String getNetAreaFilter()
      Returns the Net area filter.
      Returns:
      Net area filter with wildcards or null if not set
    • getMibFilter

      public String getMibFilter()
      Returns the MIB filter.
      Returns:
      filter for the MIB column of null if not set
    • getConnectedFilter

      public Boolean getConnectedFilter()
      Returns the filter for the connection status.
      Returns:
      true if only connected agents should be returned, false for disconnected agents or null if there should be no filter on the connection status.
    • zduVersionFilter

      public String zduVersionFilter()
      Returns the ZDU version filter.
      Returns:
      filter for the ZDU column of null if not set
    • setMaxRows

      public void setMaxRows(int maxRows)
      Used to limit the number of returned agents. The value is ignored if it is larger than AGENT_LIST_LIMIT in UC_SYSTEM_SETTINGS.
      Parameters:
      maxRows - Maximum number of rows, value between 1 and AGENT_LIST_LIMIT.
      Throws:
      IllegalArgumentException - if the value is negative or zero or larger than the allowed maximum AGENT_LIST_LIMIT: 20000
    • setNameFilter

      public void setNameFilter(String nameFilter)
      Sets the name filter of an Agent.
      Parameters:
      nameFilter - of the Agent with wildcards or null to disable this filter
    • setAgentVersionFilter

      public void setAgentVersionFilter(String agentVersionFilter)
      Sets a filter for the Agent version.
      Parameters:
      agentVersionFilter - Filter for the version of an Agent, null to disable this filter
    • setPlatformFilter

      public void setPlatformFilter(String platformFilter)
      Sets the platform filter.
      Parameters:
      platformFilter - Variant filter with wildcards, null if there should be no filter
    • getPlatformFilter

      public String getPlatformFilter()
      Returns the platform filter.
      Returns:
      Variant filter with wildcards, null if there is no filter
    • setHardwareFilter

      public void setHardwareFilter(String hardwareFilter)
      Sets the hardware filter. It can contain wildcard characters.
      Parameters:
      hardwareFilter - Filter for the hardware info of the Agent, use null to disable this filter.
    • setSoftwareFilter

      public void setSoftwareFilter(String softwareFilter)
      Software filter.
      Parameters:
      softwareFilter - Filter for the software info of an Agent, use null to disable the filter.
    • setSoftwareVersionFilter

      public void setSoftwareVersionFilter(String softwareVersionFilter)
      Filter for software version.
      Parameters:
      softwareVersionFilter - software version of an Agent, return null to disable this filter.
    • setTcpIPAddressFilter

      public void setTcpIPAddressFilter(String tcpIPAddressFilter)
      Filter for IP addresses, wildcards * and ? can be used.
      Parameters:
      tcpIPAddressFilter - the network address filter of an Agent.
    • setLicenseClassFilter

      @Deprecated public void setLicenseClassFilter(String filter)
      Deprecated.
      the license check has been removed in version 12.2 and higher
      Returns the license class filter.
      Parameters:
      filter - license class of an Agent, can be null to disable the filter.
    • setLicenseCategoryFilter

      @Deprecated public void setLicenseCategoryFilter(String licenseCategoryFilter)
      Deprecated.
      the license check has been removed in version 12.2 and higher
      Returns the filter for license category. Wildcard characters ? and * can be used.
      Parameters:
      licenseCategoryFilter - License category of the Agent, can be null to disable the filter
    • setRolesFilter

      public void setRolesFilter(String roles)
      Returns the roles filter of the Agent. Wildcard characters ? and * can be used.
      Parameters:
      roles - Filter for roles, can be null to disable the filter.
    • setAuthenticatedFilter

      public void setAuthenticatedFilter(Boolean value)
      Sets the filter for the authentication of the Agent.
      Parameters:
      value - if the agent is authenticated, false if not. Use null to disable the filter.
    • setLinkedToServiceManagerFilter

      public void setLinkedToServiceManagerFilter(Boolean value)
      Sets the filter for the service manager link status.
      Parameters:
      value - true if the Agent is linked to Service Manager, false if not. Use null to disable this filter
    • setNetAreaFilter

      public void setNetAreaFilter(String netarea)
      Sets the NetArea filter in which this Agent runs.
      Parameters:
      netarea - can be null to disable this filter
    • setMibFilter

      public void setMibFilter(String mib)
      Parameters:
      mib - MIB filter or null to disable the filter
    • setzduVersionFilter

      public void setzduVersionFilter(String zdu)
      Parameters:
      zdu - ZDU version filter or null to disable the filter
    • getAgentTypesFilter

      public String[] getAgentTypesFilter()
      Returns the agenttype filters.
      Returns:
      an array of agenttype filters or null if there is no filter.
    • setAgentTypesFilter

      public void setAgentTypesFilter(String... types)
      Sets the agenttypes filter.
      Parameters:
      types - the agenttypes or null
    • getRASolutionNameFilter

      public String getRASolutionNameFilter()
      Returns the RA solution filter.
      Returns:
      the RA solution name or null if there is no filter.
    • setRASolutionNameFilter

      public void setRASolutionNameFilter(String raSolutionName)
      Sets the RA solution filter.
      Parameters:
      raSolutionName - the RA solution name or null
    • setTlsFilter

      public void setTlsFilter(Boolean isTls)
      Sets filter if this Agent is a TLS Agent
      Parameters:
      isTls - true for TLS Agent
    • getTlsFilter

      public Boolean getTlsFilter()
      Returns the TLS Agent filter
      Returns:
      true if this is a TLS Agent
    • setGatewayFilter

      public void setGatewayFilter(String gateway)
      Sets filter for gateway filter
      Parameters:
      gateway - name of gateway
    • getGatewayFilter

      public String getGatewayFilter()
      Returns the gateway filter
      Returns:
      name of gateway