This project has retired. For details please refer to its Attic page.
LensServices.SERVICE_MODE (Lens 2.0.1-beta-incubating API)

org.apache.lens.server
Enum LensServices.SERVICE_MODE

java.lang.Object
  extended by java.lang.Enum<LensServices.SERVICE_MODE>
      extended by org.apache.lens.server.LensServices.SERVICE_MODE
All Implemented Interfaces:
Serializable, Comparable<LensServices.SERVICE_MODE>
Enclosing class:
LensServices

public static enum LensServices.SERVICE_MODE
extends Enum<LensServices.SERVICE_MODE>

The Enum SERVICE_MODE.


Enum Constant Summary
METASTORE_NODROP
          The metastore nodrop.
METASTORE_READONLY
          The metastore readonly.
OPEN
          The open.
READ_ONLY
          The read only.
 
Method Summary
static LensServices.SERVICE_MODE valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LensServices.SERVICE_MODE[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

READ_ONLY

public static final LensServices.SERVICE_MODE READ_ONLY
The read only.


METASTORE_READONLY

public static final LensServices.SERVICE_MODE METASTORE_READONLY
The metastore readonly.


METASTORE_NODROP

public static final LensServices.SERVICE_MODE METASTORE_NODROP
The metastore nodrop.


OPEN

public static final LensServices.SERVICE_MODE OPEN
The open.

Method Detail

values

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

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

valueOf

public static LensServices.SERVICE_MODE 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 © 2014–2015 Apache Software Foundation. All rights reserved.