de.espirit.firstspirit.module.descriptor
Enum ComponentDescriptor.Scope
java.lang.Object
java.lang.Enum<ComponentDescriptor.Scope>
de.espirit.firstspirit.module.descriptor.ComponentDescriptor.Scope
- All Implemented Interfaces:
- Serializable, Comparable<ComponentDescriptor.Scope>
- Enclosing interface:
- ComponentDescriptor
public static enum ComponentDescriptor.Scope
- extends Enum<ComponentDescriptor.Scope>
The scope describes the place where the component is available: server-wide, project-local or web-local.
- Since:
- 4.1
SERVER
public static final ComponentDescriptor.Scope SERVER
PROJECT
public static final ComponentDescriptor.Scope PROJECT
WEB
public static final ComponentDescriptor.Scope WEB
values
public static final ComponentDescriptor.Scope[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(ComponentDescriptor.Scope c : ComponentDescriptor.Scope.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static ComponentDescriptor.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
Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480