com.endeca.itl.cas.api
Enum ModuleType

java.lang.Object
  extended by java.lang.Enum<ModuleType>
      extended by com.endeca.itl.cas.api.ModuleType
All Implemented Interfaces:
Serializable, Comparable<ModuleType>

public enum ModuleType
extends Enum<ModuleType>

An enumeration of types of modules supported by CAS Server.


Enum Constant Summary
MANIPULATOR
          The module's type is a manipulator
SOURCE
          The module's type is a data source
 
Method Summary
static ModuleType fromValue(String v)
           
 String toString()
           
 String value()
           
static ModuleType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ModuleType[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SOURCE

public static final ModuleType SOURCE
The module's type is a data source


MANIPULATOR

public static final ModuleType MANIPULATOR
The module's type is a manipulator

Method Detail

values

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

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

valueOf

public static ModuleType 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

value

public String value()

fromValue

public static ModuleType fromValue(String v)

toString

public String toString()
Overrides:
toString in class Enum<ModuleType>


Copyright © 2011 Endeca. All Rights Reserved.