de.espirit.firstspirit.module.descriptor
Enum ComponentDescriptor.Scope

java.lang.Object
  extended by java.lang.Enum<ComponentDescriptor.Scope>
      extended by 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

Enum Constant Summary
PROJECT
           
SERVER
           
WEB
           
 
Method Summary
static ComponentDescriptor.Scope valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ComponentDescriptor.Scope[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SERVER

public static final ComponentDescriptor.Scope SERVER

PROJECT

public static final ComponentDescriptor.Scope PROJECT

WEB

public static final ComponentDescriptor.Scope WEB
Method Detail

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