public enum SearchScope extends Enum<SearchScope>
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
Getter for key.
|
static SearchScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchScope GLOBAL
public static final SearchScope LOCAL
public static SearchScope[] values()
for (SearchScope c : SearchScope.values()) System.out.println(c);
public static SearchScope 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 getKey()
Copyright © 2022. All rights reserved.