Operator Class

public final class Operator
extends ExpandableStringEnum<Operator>

Describes operator to be matched.

Field Summary

Modifier and Type Field and Description
static final Operator ANY

Static value Any for Operator.

static final Operator BEGINS_WITH

Static value BeginsWith for Operator.

static final Operator CONTAINS

Static value Contains for Operator.

static final Operator ENDS_WITH

Static value EndsWith for Operator.

static final Operator EQUAL

Static value Equal for Operator.

static final Operator GEO_MATCH

Static value GeoMatch for Operator.

static final Operator GREATER_THAN

Static value GreaterThan for Operator.

static final Operator GREATER_THAN_OR_EQUAL

Static value GreaterThanOrEqual for Operator.

static final Operator IPMATCH

Static value IPMatch for Operator.

static final Operator LESS_THAN

Static value LessThan for Operator.

static final Operator LESS_THAN_OR_EQUAL

Static value LessThanOrEqual for Operator.

static final Operator REG_EX

Static value RegEx for Operator.

Constructor Summary

Constructor Description
Operator()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Operator value.

Method Summary

Modifier and Type Method and Description
static Operator fromString(String name)

Creates or finds a Operator from its string representation.

static Collection<Operator> values()

Gets known Operator values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ANY

public static final Operator ANY

Static value Any for Operator.

BEGINS_WITH

public static final Operator BEGINS_WITH

Static value BeginsWith for Operator.

CONTAINS

public static final Operator CONTAINS

Static value Contains for Operator.

ENDS_WITH

public static final Operator ENDS_WITH

Static value EndsWith for Operator.

EQUAL

public static final Operator EQUAL

Static value Equal for Operator.

GEO_MATCH

public static final Operator GEO_MATCH

Static value GeoMatch for Operator.

GREATER_THAN

public static final Operator GREATER_THAN

Static value GreaterThan for Operator.

GREATER_THAN_OR_EQUAL

public static final Operator GREATER_THAN_OR_EQUAL

Static value GreaterThanOrEqual for Operator.

IPMATCH

public static final Operator IPMATCH

Static value IPMatch for Operator.

LESS_THAN

public static final Operator LESS_THAN

Static value LessThan for Operator.

LESS_THAN_OR_EQUAL

public static final Operator LESS_THAN_OR_EQUAL

Static value LessThanOrEqual for Operator.

REG_EX

public static final Operator REG_EX

Static value RegEx for Operator.

Constructor Details

Operator

@Deprecated
public Operator()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Operator value.

Method Details

fromString

public static Operator fromString(String name)

Creates or finds a Operator from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding Operator.

values

public static Collection values()

Gets known Operator values.

Returns:

known Operator values.

Applies to