public static enum PutOpParam.Op extends Enum<PutOpParam.Op> implements HttpOpParam.Op
Modifier and Type | Method and Description |
---|---|
boolean |
getDoOutput() |
int |
getExpectedHttpResponseCode() |
boolean |
getRedirect() |
boolean |
getRequireAuth() |
HttpOpParam.Type |
getType() |
String |
toQueryString() |
static PutOpParam.Op |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PutOpParam.Op[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PutOpParam.Op CREATE
public static final PutOpParam.Op MKDIRS
public static final PutOpParam.Op CREATESYMLINK
public static final PutOpParam.Op RENAME
public static final PutOpParam.Op SETREPLICATION
public static final PutOpParam.Op SETOWNER
public static final PutOpParam.Op SETPERMISSION
public static final PutOpParam.Op SETTIMES
public static final PutOpParam.Op RENEWDELEGATIONTOKEN
public static final PutOpParam.Op CANCELDELEGATIONTOKEN
public static final PutOpParam.Op MODIFYACLENTRIES
public static final PutOpParam.Op REMOVEACLENTRIES
public static final PutOpParam.Op REMOVEDEFAULTACL
public static final PutOpParam.Op REMOVEACL
public static final PutOpParam.Op SETACL
public static final PutOpParam.Op SETXATTR
public static final PutOpParam.Op REMOVEXATTR
public static final PutOpParam.Op ALLOWSNAPSHOT
public static final PutOpParam.Op DISALLOWSNAPSHOT
public static final PutOpParam.Op CREATESNAPSHOT
public static final PutOpParam.Op RENAMESNAPSHOT
public static final PutOpParam.Op SETSTORAGEPOLICY
public static final PutOpParam.Op NULL
public static PutOpParam.Op[] values()
for (PutOpParam.Op c : PutOpParam.Op.values()) System.out.println(c);
public static PutOpParam.Op valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic HttpOpParam.Type getType()
getType
in interface HttpOpParam.Op
public boolean getRequireAuth()
getRequireAuth
in interface HttpOpParam.Op
public boolean getDoOutput()
getDoOutput
in interface HttpOpParam.Op
public boolean getRedirect()
getRedirect
in interface HttpOpParam.Op
public int getExpectedHttpResponseCode()
getExpectedHttpResponseCode
in interface HttpOpParam.Op
public String toQueryString()
toQueryString
in interface HttpOpParam.Op
Copyright © 2018 Apache Software Foundation. All Rights Reserved.