public enum SearchScope extends Enum<SearchScope>
SearchParameters
Enum Constant and Description |
---|
ANNOTATION |
DESCRIPTION |
NAME |
Modifier and Type | Method and Description |
---|---|
String |
getStringRepresentation()
Get a String representation of this scope which can be used in a
lucene search
|
static String |
getStringRepresentation(Collection<SearchScope> scopes)
Get a String representation of the given scopes which can be used in a
lucence search
|
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 NAME
public static final SearchScope DESCRIPTION
public static final SearchScope ANNOTATION
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 getStringRepresentation()
public static String getStringRepresentation(Collection<SearchScope> scopes)
scopes
- The scopes
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.