org.apache.hadoop.fs.http.client
Enum HttpFSFileSystem.PutOpValues

java.lang.Object
  extended by java.lang.Enum<HttpFSFileSystem.PutOpValues>
      extended by org.apache.hadoop.fs.http.client.HttpFSFileSystem.PutOpValues
All Implemented Interfaces:
Serializable, Comparable<HttpFSFileSystem.PutOpValues>
Enclosing class:
HttpFSFileSystem

public static enum HttpFSFileSystem.PutOpValues
extends Enum<HttpFSFileSystem.PutOpValues>

Put operations.


Enum Constant Summary
CANCELDELEGATIONTOKEN
           
CREATE
           
MKDIRS
           
RENAME
           
RENEWDELEGATIONTOKEN
           
SETOWNER
           
SETPERMISSION
           
SETREPLICATION
           
SETTIMES
           
 
Method Summary
static HttpFSFileSystem.PutOpValues valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HttpFSFileSystem.PutOpValues[] 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

CREATE

public static final HttpFSFileSystem.PutOpValues CREATE

MKDIRS

public static final HttpFSFileSystem.PutOpValues MKDIRS

RENAME

public static final HttpFSFileSystem.PutOpValues RENAME

SETOWNER

public static final HttpFSFileSystem.PutOpValues SETOWNER

SETPERMISSION

public static final HttpFSFileSystem.PutOpValues SETPERMISSION

SETREPLICATION

public static final HttpFSFileSystem.PutOpValues SETREPLICATION

SETTIMES

public static final HttpFSFileSystem.PutOpValues SETTIMES

RENEWDELEGATIONTOKEN

public static final HttpFSFileSystem.PutOpValues RENEWDELEGATIONTOKEN

CANCELDELEGATIONTOKEN

public static final HttpFSFileSystem.PutOpValues CANCELDELEGATIONTOKEN
Method Detail

values

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

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

valueOf

public static HttpFSFileSystem.PutOpValues 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 © 2012 Apache Software Foundation. All Rights Reserved.