no.sesat.search.datamodel.access
Enum ControlLevel

java.lang.Object
  extended by java.lang.Enum<ControlLevel>
      extended by no.sesat.search.datamodel.access.ControlLevel
All Implemented Interfaces:
Serializable, Comparable<ControlLevel>

public enum ControlLevel
extends Enum<ControlLevel>

Version:
$Id: ControlLevel.java 7225 2009-04-09 00:32:20Z ssmiweve $

Enum Constant Summary
DATA_MODEL_CONSTRUCTION
          Default state the DataModel is created in.
REQUEST_CONSTRUCTION
          The state while in http filters or the search servlet.
RUNNING_QUERY_CONSTRUCTION
          The state while the RunningQuery is being constructed.
RUNNING_QUERY_HANDLING
          The state while RunningQuery run handlers are being processed.
SEARCH_COMMAND_CONSTRUCTION
          The state while the SearchCommand is being constructed.
SEARCH_COMMAND_EXECUTION
          The state while SearchCommands are being executed.
VIEW_CONSTRUCTION
          The state while jsps and velocity templates are being executed.
 
Method Summary
static ControlLevel valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ControlLevel[] 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

DATA_MODEL_CONSTRUCTION

public static final ControlLevel DATA_MODEL_CONSTRUCTION
Default state the DataModel is created in. Also used when the DataModel is being cleaned at the end of each request.


REQUEST_CONSTRUCTION

public static final ControlLevel REQUEST_CONSTRUCTION
The state while in http filters or the search servlet.


RUNNING_QUERY_CONSTRUCTION

public static final ControlLevel RUNNING_QUERY_CONSTRUCTION
The state while the RunningQuery is being constructed.


SEARCH_COMMAND_CONSTRUCTION

public static final ControlLevel SEARCH_COMMAND_CONSTRUCTION
The state while the SearchCommand is being constructed.


SEARCH_COMMAND_EXECUTION

public static final ControlLevel SEARCH_COMMAND_EXECUTION
The state while SearchCommands are being executed.


RUNNING_QUERY_HANDLING

public static final ControlLevel RUNNING_QUERY_HANDLING
The state while RunningQuery run handlers are being processed.


VIEW_CONSTRUCTION

public static final ControlLevel VIEW_CONSTRUCTION
The state while jsps and velocity templates are being executed.

Method Detail

values

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

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

valueOf

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


Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.