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

org.apache.lens.server.api.driver
Enum DriverQueryStatus.DriverQueryState

java.lang.Object
  extended by java.lang.Enum<DriverQueryStatus.DriverQueryState>
      extended by org.apache.lens.server.api.driver.DriverQueryStatus.DriverQueryState
All Implemented Interfaces:
Serializable, Comparable<DriverQueryStatus.DriverQueryState>
Enclosing class:
DriverQueryStatus

public static enum DriverQueryStatus.DriverQueryState
extends Enum<DriverQueryStatus.DriverQueryState>

The Enum DriverQueryState.


Enum Constant Summary
CANCELED
          The canceled.
CLOSED
          The closed.
FAILED
          The failed.
INITIALIZED
          The initialized.
NEW
          The new.
PENDING
          The pending.
RUNNING
          The running.
SUCCESSFUL
          The successful.
 
Method Summary
static DriverQueryStatus.DriverQueryState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DriverQueryStatus.DriverQueryState[] 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

NEW

public static final DriverQueryStatus.DriverQueryState NEW
The new.


INITIALIZED

public static final DriverQueryStatus.DriverQueryState INITIALIZED
The initialized.


PENDING

public static final DriverQueryStatus.DriverQueryState PENDING
The pending.


RUNNING

public static final DriverQueryStatus.DriverQueryState RUNNING
The running.


SUCCESSFUL

public static final DriverQueryStatus.DriverQueryState SUCCESSFUL
The successful.


FAILED

public static final DriverQueryStatus.DriverQueryState FAILED
The failed.


CANCELED

public static final DriverQueryStatus.DriverQueryState CANCELED
The canceled.


CLOSED

public static final DriverQueryStatus.DriverQueryState CLOSED
The closed.

Method Detail

values

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

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

valueOf

public static DriverQueryStatus.DriverQueryState 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.