public static enum PrivilegedOperation.RunAsUserCommand extends Enum<PrivilegedOperation.RunAsUserCommand>
Enum Constant and Description |
---|
DELETE_AS_USER |
INITIALIZE_CONTAINER |
LAUNCH_CONTAINER |
LAUNCH_DOCKER_CONTAINER |
LIST_AS_USER |
SIGNAL_CONTAINER |
SYNC_YARN_SYSFS |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static PrivilegedOperation.RunAsUserCommand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrivilegedOperation.RunAsUserCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrivilegedOperation.RunAsUserCommand INITIALIZE_CONTAINER
public static final PrivilegedOperation.RunAsUserCommand LAUNCH_CONTAINER
public static final PrivilegedOperation.RunAsUserCommand SIGNAL_CONTAINER
public static final PrivilegedOperation.RunAsUserCommand DELETE_AS_USER
public static final PrivilegedOperation.RunAsUserCommand LAUNCH_DOCKER_CONTAINER
public static final PrivilegedOperation.RunAsUserCommand LIST_AS_USER
public static final PrivilegedOperation.RunAsUserCommand SYNC_YARN_SYSFS
public static PrivilegedOperation.RunAsUserCommand[] values()
for (PrivilegedOperation.RunAsUserCommand c : PrivilegedOperation.RunAsUserCommand.values()) System.out.println(c);
public static PrivilegedOperation.RunAsUserCommand 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 int getValue()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.