public static enum PrivilegedOperation.ResultCode extends Enum<PrivilegedOperation.ResultCode>
| Enum Constant and Description | 
|---|
| INVALID_CONFIG_FILE | 
| INVALID_CONTAINER_EXEC_PERMISSIONS | 
| INVALID_CONTAINER_PID | 
| INVALID_USER_NAME | 
| OK | 
| UNABLE_TO_EXECUTE_CONTAINER_SCRIPT | 
| WRITE_CGROUP_FAILED | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getValue() | 
| static PrivilegedOperation.ResultCode | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static PrivilegedOperation.ResultCode[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final PrivilegedOperation.ResultCode OK
public static final PrivilegedOperation.ResultCode INVALID_USER_NAME
public static final PrivilegedOperation.ResultCode UNABLE_TO_EXECUTE_CONTAINER_SCRIPT
public static final PrivilegedOperation.ResultCode INVALID_CONTAINER_PID
public static final PrivilegedOperation.ResultCode INVALID_CONTAINER_EXEC_PERMISSIONS
public static final PrivilegedOperation.ResultCode INVALID_CONFIG_FILE
public static final PrivilegedOperation.ResultCode WRITE_CGROUP_FAILED
public static PrivilegedOperation.ResultCode[] values()
for (PrivilegedOperation.ResultCode c : PrivilegedOperation.ResultCode.values()) System.out.println(c);
public static PrivilegedOperation.ResultCode 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.