com.flexive.shared.scripting
Enum FxScriptScope

java.lang.Object
  extended by java.lang.Enum<FxScriptScope>
      extended by com.flexive.shared.scripting.FxScriptScope
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FxScriptScope>

public enum FxScriptScope
extends java.lang.Enum<FxScriptScope>

Scope of Scripts - the "area" where FxScriptEvent's are applicable

Author:
Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)

Enum Constant Summary
Accounts
          Script related to user account updates
All
          No pre-defined scope, can be used anywhere
Assignment
          Script is to be used for FxAssignment related events
BinaryProcessing
          Script is used for processing binary data to detect mimetypes, generate metadata or previews, etc.
Tree
          Tree related (activation, etc.)
Type
          Script is to be used for FxType related events
 
Method Summary
static FxScriptScope valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FxScriptScope[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

All

public static final FxScriptScope All
No pre-defined scope, can be used anywhere


Type

public static final FxScriptScope Type
Script is to be used for FxType related events


Assignment

public static final FxScriptScope Assignment
Script is to be used for FxAssignment related events


BinaryProcessing

public static final FxScriptScope BinaryProcessing
Script is used for processing binary data to detect mimetypes, generate metadata or previews, etc.


Accounts

public static final FxScriptScope Accounts
Script related to user account updates


Tree

public static final FxScriptScope Tree
Tree related (activation, etc.)

Method Detail

values

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

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

valueOf

public static FxScriptScope valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null