de.espirit.firstspirit.module
Enum WebEnvironment.WebScope

java.lang.Object
  extended by java.lang.Enum<WebEnvironment.WebScope>
      extended by de.espirit.firstspirit.module.WebEnvironment.WebScope
All Implemented Interfaces:
Serializable, Comparable<WebEnvironment.WebScope>
Enclosing interface:
WebEnvironment

public static enum WebEnvironment.WebScope
extends Enum<WebEnvironment.WebScope>

In which web scope is the component available: preview, staging, live, webedit or global.

Since:
4.1

Enum Constant Summary
GLOBAL
          Visible in a global web-app.
LIVE
          Visible in live web-app.
PREVIEW
          Visible in preview web-app.
STAGING
          Visible in staging web-app.
WEBEDIT
          Visible in web-edit.
 
Method Summary
static WebEnvironment.WebScope valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WebEnvironment.WebScope[] 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

PREVIEW

public static final WebEnvironment.WebScope PREVIEW
Visible in preview web-app.

Since:
4.1

STAGING

public static final WebEnvironment.WebScope STAGING
Visible in staging web-app.

Since:
4.1

LIVE

public static final WebEnvironment.WebScope LIVE
Visible in live web-app.

Since:
4.1

WEBEDIT

public static final WebEnvironment.WebScope WEBEDIT
Visible in web-edit.

Since:
4.1

GLOBAL

public static final WebEnvironment.WebScope GLOBAL
Visible in a global web-app.

Since:
4.2.428
Method Detail

values

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

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

valueOf

public static WebEnvironment.WebScope 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