org.elasticsearch.cluster.metadata
Enum MetaDataCreateIndexService.Request.Origin

java.lang.Object
  extended by java.lang.Enum<MetaDataCreateIndexService.Request.Origin>
      extended by org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.Request.Origin
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MetaDataCreateIndexService.Request.Origin>
Enclosing class:
MetaDataCreateIndexService.Request

public static enum MetaDataCreateIndexService.Request.Origin
extends java.lang.Enum<MetaDataCreateIndexService.Request.Origin>


Enum Constant Summary
API
           
GATEWAY
           
 
Method Summary
static MetaDataCreateIndexService.Request.Origin valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MetaDataCreateIndexService.Request.Origin[] 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

API

public static final MetaDataCreateIndexService.Request.Origin API

GATEWAY

public static final MetaDataCreateIndexService.Request.Origin GATEWAY
Method Detail

values

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

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

valueOf

public static MetaDataCreateIndexService.Request.Origin valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null