Filter

public class Filter implements Serializable

Represents a single filter. A filter is a part of the FilterSet and represents a single condition that task must meet before being executed. If that condition is not met the task execution will be stopped. It is an optional part of a task.

Constructors

Filter

public Filter()

Constructor.

Filter

public Filter(EventParameter eventParameter, boolean negationOperator, String operator, String expression)

Constructor.

Parameters:
  • eventParameter – the event parameter
  • negationOperator – defines if the represented operator should be negated
  • operator – the filter operator
  • expression – the filter operator

Filter

public Filter(String displayName, String key, ParameterType type, boolean negationOperator, String operator, String expression)

Constructor.

Parameters:
  • displayName – the filter display name
  • key – the filter key
  • type – the filter type
  • negationOperator – defines if the represented operator should be negated
  • operator – the filter operator
  • expression – the filter exception

Methods

equals

public boolean equals(Object obj)

getDisplayName

public String getDisplayName()

getExpression

public String getExpression()

getKey

public String getKey()

getOperator

public String getOperator()

getType

public ParameterType getType()

hashCode

public int hashCode()

isNegationOperator

public boolean isNegationOperator()

setDisplayName

public void setDisplayName(String displayName)

setExpression

public void setExpression(String expression)

setKey

public void setKey(String key)

setNegationOperator

public void setNegationOperator(boolean negationOperator)

setOperator

public void setOperator(String operator)

setType

public void setType(ParameterType type)

toString

public String toString()