public static enum PrivilegedOperation.OperationType extends Enum<PrivilegedOperation.OperationType>
Enum Constant and Description |
---|
ADD_PID_TO_CGROUP |
CHECK_SETUP |
DELETE_AS_USER |
INITIALIZE_CONTAINER |
LAUNCH_CONTAINER |
LAUNCH_DOCKER_CONTAINER |
LIST_AS_USER |
MOUNT_CGROUPS |
RUN_DOCKER_CMD |
SIGNAL_CONTAINER |
TC_MODIFY_STATE |
TC_READ_STATE |
TC_READ_STATS |
Modifier and Type | Method and Description |
---|---|
String |
getOption() |
static PrivilegedOperation.OperationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrivilegedOperation.OperationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrivilegedOperation.OperationType CHECK_SETUP
public static final PrivilegedOperation.OperationType MOUNT_CGROUPS
public static final PrivilegedOperation.OperationType INITIALIZE_CONTAINER
public static final PrivilegedOperation.OperationType LAUNCH_CONTAINER
public static final PrivilegedOperation.OperationType SIGNAL_CONTAINER
public static final PrivilegedOperation.OperationType DELETE_AS_USER
public static final PrivilegedOperation.OperationType LAUNCH_DOCKER_CONTAINER
public static final PrivilegedOperation.OperationType TC_MODIFY_STATE
public static final PrivilegedOperation.OperationType TC_READ_STATE
public static final PrivilegedOperation.OperationType TC_READ_STATS
public static final PrivilegedOperation.OperationType ADD_PID_TO_CGROUP
public static final PrivilegedOperation.OperationType RUN_DOCKER_CMD
public static final PrivilegedOperation.OperationType LIST_AS_USER
public static PrivilegedOperation.OperationType[] values()
for (PrivilegedOperation.OperationType c : PrivilegedOperation.OperationType.values()) System.out.println(c);
public static PrivilegedOperation.OperationType 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 getOption()
Copyright © 2018 Apache Software Foundation. All Rights Reserved.