Class CommandFilter

    • Constructor Detail

      • CommandFilter

        public CommandFilter()
    • Method Detail

      • setKey

        public void setKey​(String key)

        The name of the filter. For example, requested date and time.

        Parameters:
        key - The name of the filter. For example, requested date and time.
        See Also:
        CommandFilterKey
      • getKey

        public String getKey()

        The name of the filter. For example, requested date and time.

        Returns:
        The name of the filter. For example, requested date and time.
        See Also:
        CommandFilterKey
      • withKey

        public CommandFilter withKey​(String key)

        The name of the filter. For example, requested date and time.

        Parameters:
        key - The name of the filter. For example, requested date and time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CommandFilterKey
      • setKey

        public void setKey​(CommandFilterKey key)

        The name of the filter. For example, requested date and time.

        Parameters:
        key - The name of the filter. For example, requested date and time.
        See Also:
        CommandFilterKey
      • withKey

        public CommandFilter withKey​(CommandFilterKey key)

        The name of the filter. For example, requested date and time.

        Parameters:
        key - The name of the filter. For example, requested date and time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CommandFilterKey
      • setValue

        public void setValue​(String value)

        The filter value. For example: June 30, 2015.

        Parameters:
        value - The filter value. For example: June 30, 2015.
      • getValue

        public String getValue()

        The filter value. For example: June 30, 2015.

        Returns:
        The filter value. For example: June 30, 2015.
      • withValue

        public CommandFilter withValue​(String value)

        The filter value. For example: June 30, 2015.

        Parameters:
        value - The filter value. For example: June 30, 2015.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • 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