de.espirit.firstspirit.module.descriptor
Enum WebAppDescriptor.WebAppScope

java.lang.Object
  extended by java.lang.Enum<WebAppDescriptor.WebAppScope>
      extended by de.espirit.firstspirit.module.descriptor.WebAppDescriptor.WebAppScope
All Implemented Interfaces:
Serializable, Comparable<WebAppDescriptor.WebAppScope>
Enclosing class:
WebAppDescriptor

public static enum WebAppDescriptor.WebAppScope
extends Enum<WebAppDescriptor.WebAppScope>

The scope describes the place where the component is available: global or project-local webapps.

Since:
4.2.448

Enum Constant Summary
GLOBAL
          Component can be used in global webapps.
PROJECT
          Component can used in project-local webapps.
 
Method Summary
static WebAppDescriptor.WebAppScope valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WebAppDescriptor.WebAppScope[] 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

GLOBAL

public static final WebAppDescriptor.WebAppScope GLOBAL
Component can be used in global webapps.

Since:
4.2.448

PROJECT

public static final WebAppDescriptor.WebAppScope PROJECT
Component can used in project-local webapps.

Since:
4.2.448
Method Detail

values

public static final WebAppDescriptor.WebAppScope[] 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(WebAppDescriptor.WebAppScope c : WebAppDescriptor.WebAppScope.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static WebAppDescriptor.WebAppScope 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