org.apache.lens.api
Enum APIResult.Status

java.lang.Object
  extended by java.lang.Enum<APIResult.Status>
      extended by org.apache.lens.api.APIResult.Status
All Implemented Interfaces:
Serializable, Comparable<APIResult.Status>
Enclosing class:
APIResult

public static enum APIResult.Status
extends Enum<APIResult.Status>

API Result status.


Enum Constant Summary
FAILED
          The failed.
PARTIAL
          The partial.
SUCCEEDED
          The succeeded.
 
Method Summary
static APIResult.Status valueOf(String name)
          Returns the enum constant of this type with the specified name.
static APIResult.Status[] 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

SUCCEEDED

public static final APIResult.Status SUCCEEDED
The succeeded.


PARTIAL

public static final APIResult.Status PARTIAL
The partial.


FAILED

public static final APIResult.Status FAILED
The failed.

Method Detail

values

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

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

valueOf

public static APIResult.Status 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.