Class AgentFilter

    • Constructor Detail

      • AgentFilter

        public AgentFilter()
    • Method Detail

      • getAgentHealths

        public List<String> getAgentHealths()

        The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.

        Returns:
        The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.
        See Also:
        AgentHealth
      • setAgentHealths

        public void setAgentHealths​(Collection<String> agentHealths)

        The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.

        Parameters:
        agentHealths - The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.
        See Also:
        AgentHealth
      • withAgentHealths

        public AgentFilter withAgentHealths​(String... agentHealths)

        The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.

        NOTE: This method appends the values to the existing list (if any). Use setAgentHealths(java.util.Collection) or withAgentHealths(java.util.Collection) if you want to override the existing values.

        Parameters:
        agentHealths - The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AgentHealth
      • withAgentHealths

        public AgentFilter withAgentHealths​(Collection<String> agentHealths)

        The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.

        Parameters:
        agentHealths - The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AgentHealth
      • withAgentHealths

        public AgentFilter withAgentHealths​(AgentHealth... agentHealths)

        The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.

        Parameters:
        agentHealths - The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AgentHealth
      • getAgentHealthCodes

        public List<String> getAgentHealthCodes()

        The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN.

        Returns:
        The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN.
        See Also:
        AgentHealthCode
      • setAgentHealthCodes

        public void setAgentHealthCodes​(Collection<String> agentHealthCodes)

        The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN.

        Parameters:
        agentHealthCodes - The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN.
        See Also:
        AgentHealthCode
      • withAgentHealthCodes

        public AgentFilter withAgentHealthCodes​(String... agentHealthCodes)

        The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN.

        NOTE: This method appends the values to the existing list (if any). Use setAgentHealthCodes(java.util.Collection) or withAgentHealthCodes(java.util.Collection) if you want to override the existing values.

        Parameters:
        agentHealthCodes - The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AgentHealthCode
      • withAgentHealthCodes

        public AgentFilter withAgentHealthCodes​(Collection<String> agentHealthCodes)

        The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN.

        Parameters:
        agentHealthCodes - The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AgentHealthCode
      • withAgentHealthCodes

        public AgentFilter withAgentHealthCodes​(AgentHealthCode... agentHealthCodes)

        The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN.

        Parameters:
        agentHealthCodes - The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AgentHealthCode
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object