public enum SelectorOperator extends Enum<SelectorOperator>
Enum Constant and Description |
---|
CONTAINS |
CONTAINS_WORD |
ENDS_WITH |
EQUALS |
NOT_EQUAL |
STARTS_WITH |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
accepts(String key,
String value) |
static SelectorOperator |
getSelectorOperator(String operator) |
static SelectorOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SelectorOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SelectorOperator CONTAINS
public static final SelectorOperator CONTAINS_WORD
public static final SelectorOperator ENDS_WITH
public static final SelectorOperator EQUALS
public static final SelectorOperator NOT_EQUAL
public static final SelectorOperator STARTS_WITH
public static SelectorOperator[] values()
for (SelectorOperator c : SelectorOperator.values()) System.out.println(c);
public static SelectorOperator valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static SelectorOperator getSelectorOperator(String operator)
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.