lumis.portal.deployment
Enum ModuleState

Package class diagram package ModuleState
java.lang.Object
  extended by java.lang.Enum<ModuleState>
      extended by lumis.portal.deployment.ModuleState
All Implemented Interfaces:
Serializable, Comparable<ModuleState>

public enum ModuleState
extends Enum<ModuleState>

Defines enumeration values for module states.

Since:
5.0.0
See Also:
IModule.getState()

Enum Constant Summary
MISSING
          Indicates that a module required resource was not found and it cannot start properly.
RUNNING
          Indicates that a module is properly installed and currently available.
STOPPED
          Indicates that a module is properly installed but is not available.
 
Method Summary
static ModuleState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ModuleState[] 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

RUNNING

public static final ModuleState RUNNING
Indicates that a module is properly installed and currently available.

Since:
5.0.0

STOPPED

public static final ModuleState STOPPED
Indicates that a module is properly installed but is not available.

Since:
5.0.0

MISSING

public static final ModuleState MISSING
Indicates that a module required resource was not found and it cannot start properly.

Since:
5.0.0
Method Detail

values

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

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

valueOf

public static ModuleState 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
NullPointerException - if the argument is null


Lumisportal  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.