public static enum Protos.ExecutorInfo.Type extends java.lang.Enum<Protos.ExecutorInfo.Type>
mesos.ExecutorInfo.Type| Enum Constant and Description |
|---|
CUSTOM
For frameworks that need custom functionality to run tasks, a `CUSTOM`
executor can be used.
|
DEFAULT
Mesos provides a simple built-in default executor that frameworks can
leverage to run shell commands and containers.
|
UNKNOWN
UNKNOWN = 0; |
| Modifier and Type | Field and Description |
|---|---|
static int |
CUSTOM_VALUE
For frameworks that need custom functionality to run tasks, a `CUSTOM`
executor can be used.
|
static int |
DEFAULT_VALUE
Mesos provides a simple built-in default executor that frameworks can
leverage to run shell commands and containers.
|
static int |
UNKNOWN_VALUE
UNKNOWN = 0; |
| Modifier and Type | Method and Description |
|---|---|
static Protos.ExecutorInfo.Type |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static <any> |
internalGetValueMap() |
static Protos.ExecutorInfo.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Protos.ExecutorInfo.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Protos.ExecutorInfo.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Protos.ExecutorInfo.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Protos.ExecutorInfo.Type UNKNOWN
UNKNOWN = 0;public static final Protos.ExecutorInfo.Type DEFAULT
Mesos provides a simple built-in default executor that frameworks can
leverage to run shell commands and containers.
NOTES:
1) `command` must not be set when using a default executor.
2) Default executor only accepts a *single* `LAUNCH` or `LAUNCH_GROUP`
operation.
3) If `container` is set, `container.type` must be `MESOS`
and `container.mesos.image` must not be set.
DEFAULT = 1;public static final Protos.ExecutorInfo.Type CUSTOM
For frameworks that need custom functionality to run tasks, a `CUSTOM` executor can be used. Note that `command` must be set when using a `CUSTOM` executor.
CUSTOM = 2;public static final int UNKNOWN_VALUE
UNKNOWN = 0;public static final int DEFAULT_VALUE
Mesos provides a simple built-in default executor that frameworks can
leverage to run shell commands and containers.
NOTES:
1) `command` must not be set when using a default executor.
2) Default executor only accepts a *single* `LAUNCH` or `LAUNCH_GROUP`
operation.
3) If `container` is set, `container.type` must be `MESOS`
and `container.mesos.image` must not be set.
DEFAULT = 1;public static final int CUSTOM_VALUE
For frameworks that need custom functionality to run tasks, a `CUSTOM` executor can be used. Note that `command` must be set when using a `CUSTOM` executor.
CUSTOM = 2;public static Protos.ExecutorInfo.Type[] values()
for (Protos.ExecutorInfo.Type c : Protos.ExecutorInfo.Type.values()) System.out.println(c);
public static Protos.ExecutorInfo.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final int getNumber()
@Deprecated public static Protos.ExecutorInfo.Type valueOf(int value)
forNumber(int) instead.public static Protos.ExecutorInfo.Type forNumber(int value)
public static <any> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Protos.ExecutorInfo.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)