public static interface Protos.CommandInfoOrBuilder
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getArguments(int index)
repeated string arguments = 7; |
com.google.protobuf.ByteString |
getArgumentsBytes(int index)
repeated string arguments = 7; |
int |
getArgumentsCount()
repeated string arguments = 7; |
java.util.List<java.lang.String> |
getArgumentsList()
repeated string arguments = 7; |
Protos.Environment |
getEnvironment()
optional .mesos.Environment environment = 2; |
Protos.EnvironmentOrBuilder |
getEnvironmentOrBuilder()
optional .mesos.Environment environment = 2; |
boolean |
getShell()
There are two ways to specify the command:
1) If 'shell == true', the command will be launched via shell
(i.e., /bin/sh -c 'value').
|
Protos.CommandInfo.URI |
getUris(int index)
repeated .mesos.CommandInfo.URI uris = 1; |
int |
getUrisCount()
repeated .mesos.CommandInfo.URI uris = 1; |
java.util.List<Protos.CommandInfo.URI> |
getUrisList()
repeated .mesos.CommandInfo.URI uris = 1; |
Protos.CommandInfo.URIOrBuilder |
getUrisOrBuilder(int index)
repeated .mesos.CommandInfo.URI uris = 1; |
java.util.List<? extends Protos.CommandInfo.URIOrBuilder> |
getUrisOrBuilderList()
repeated .mesos.CommandInfo.URI uris = 1; |
java.lang.String |
getUser()
Enables executor and tasks to run as a specific user.
|
com.google.protobuf.ByteString |
getUserBytes()
Enables executor and tasks to run as a specific user.
|
java.lang.String |
getValue()
optional string value = 3; |
com.google.protobuf.ByteString |
getValueBytes()
optional string value = 3; |
boolean |
hasEnvironment()
optional .mesos.Environment environment = 2; |
boolean |
hasShell()
There are two ways to specify the command:
1) If 'shell == true', the command will be launched via shell
(i.e., /bin/sh -c 'value').
|
boolean |
hasUser()
Enables executor and tasks to run as a specific user.
|
boolean |
hasValue()
optional string value = 3; |
java.util.List<Protos.CommandInfo.URI> getUrisList()
repeated .mesos.CommandInfo.URI uris = 1;
Protos.CommandInfo.URI getUris(int index)
repeated .mesos.CommandInfo.URI uris = 1;
int getUrisCount()
repeated .mesos.CommandInfo.URI uris = 1;
java.util.List<? extends Protos.CommandInfo.URIOrBuilder> getUrisOrBuilderList()
repeated .mesos.CommandInfo.URI uris = 1;
Protos.CommandInfo.URIOrBuilder getUrisOrBuilder(int index)
repeated .mesos.CommandInfo.URI uris = 1;
boolean hasEnvironment()
optional .mesos.Environment environment = 2;
Protos.Environment getEnvironment()
optional .mesos.Environment environment = 2;
Protos.EnvironmentOrBuilder getEnvironmentOrBuilder()
optional .mesos.Environment environment = 2;
boolean hasShell()
There are two ways to specify the command: 1) If 'shell == true', the command will be launched via shell (i.e., /bin/sh -c 'value'). The 'value' specified will be treated as the shell command. The 'arguments' will be ignored. 2) If 'shell == false', the command will be launched by passing arguments to an executable. The 'value' specified will be treated as the filename of the executable. The 'arguments' will be treated as the arguments to the executable. This is similar to how POSIX exec families launch processes (i.e., execlp(value, arguments(0), arguments(1), ...)). NOTE: The field 'value' is changed from 'required' to 'optional' in 0.20.0. It will only cause issues if a new framework is connecting to an old master.
optional bool shell = 6 [default = true];
boolean getShell()
There are two ways to specify the command: 1) If 'shell == true', the command will be launched via shell (i.e., /bin/sh -c 'value'). The 'value' specified will be treated as the shell command. The 'arguments' will be ignored. 2) If 'shell == false', the command will be launched by passing arguments to an executable. The 'value' specified will be treated as the filename of the executable. The 'arguments' will be treated as the arguments to the executable. This is similar to how POSIX exec families launch processes (i.e., execlp(value, arguments(0), arguments(1), ...)). NOTE: The field 'value' is changed from 'required' to 'optional' in 0.20.0. It will only cause issues if a new framework is connecting to an old master.
optional bool shell = 6 [default = true];
boolean hasValue()
optional string value = 3;
java.lang.String getValue()
optional string value = 3;
com.google.protobuf.ByteString getValueBytes()
optional string value = 3;
java.util.List<java.lang.String> getArgumentsList()
repeated string arguments = 7;
int getArgumentsCount()
repeated string arguments = 7;
java.lang.String getArguments(int index)
repeated string arguments = 7;
com.google.protobuf.ByteString getArgumentsBytes(int index)
repeated string arguments = 7;
boolean hasUser()
Enables executor and tasks to run as a specific user. If the user field is present both in FrameworkInfo and here, the CommandInfo user value takes precedence.
optional string user = 5;
java.lang.String getUser()
Enables executor and tasks to run as a specific user. If the user field is present both in FrameworkInfo and here, the CommandInfo user value takes precedence.
optional string user = 5;
com.google.protobuf.ByteString getUserBytes()
Enables executor and tasks to run as a specific user. If the user field is present both in FrameworkInfo and here, the CommandInfo user value takes precedence.
optional string user = 5;