org.sakaiproject.search.tool
Enum SearchBeanImpl.Scope
java.lang.Object
java.lang.Enum<SearchBeanImpl.Scope>
org.sakaiproject.search.tool.SearchBeanImpl.Scope
- All Implemented Interfaces:
- Serializable, Comparable<SearchBeanImpl.Scope>
- Enclosing class:
- SearchBeanImpl
public static enum SearchBeanImpl.Scope
- extends Enum<SearchBeanImpl.Scope>
SITE
public static final SearchBeanImpl.Scope SITE
MINE
public static final SearchBeanImpl.Scope MINE
values
public static SearchBeanImpl.Scope[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (SearchBeanImpl.Scope c : SearchBeanImpl.Scope.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SearchBeanImpl.Scope valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2003-2012 Sakai Project. All Rights Reserved.