public enum SuggestFilter extends Enum<SuggestFilter>
Modifier and Type | Field and Description |
---|---|
static String |
ALL |
static String |
CONTAINS |
static String |
PREFIX |
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static SuggestFilter |
parse(String string) |
static SuggestFilter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SuggestFilter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SuggestFilter all
public static final SuggestFilter prefix
public static final SuggestFilter contains
public static final String ALL
public static final String PREFIX
public static final String CONTAINS
public static SuggestFilter[] values()
for (SuggestFilter c : SuggestFilter.values()) System.out.println(c);
public static SuggestFilter 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 String getValue()
public static SuggestFilter parse(String string)
Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.