@InterfaceStability.Unstable @InterfaceAudience.Private public enum TimelineDelegationTokenOperation extends Enum<TimelineDelegationTokenOperation>
Enum Constant and Description |
---|
CANCELDELEGATIONTOKEN |
GETDELEGATIONTOKEN |
RENEWDELEGATIONTOKEN |
Modifier and Type | Method and Description |
---|---|
String |
getHttpMethod() |
boolean |
requiresKerberosCredentials() |
static TimelineDelegationTokenOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimelineDelegationTokenOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimelineDelegationTokenOperation GETDELEGATIONTOKEN
public static final TimelineDelegationTokenOperation RENEWDELEGATIONTOKEN
public static final TimelineDelegationTokenOperation CANCELDELEGATIONTOKEN
public static TimelineDelegationTokenOperation[] values()
for (TimelineDelegationTokenOperation c : TimelineDelegationTokenOperation.values()) System.out.println(c);
public static TimelineDelegationTokenOperation 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 String getHttpMethod()
public boolean requiresKerberosCredentials()
Copyright © 2008–2019 Apache Software Foundation. All rights reserved.