public class MesosSlaveInfo extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MesosSlaveInfo.ContainerInfo |
static class |
MesosSlaveInfo.ExternalContainerInfo |
static class |
MesosSlaveInfo.Parameter |
static class |
MesosSlaveInfo.PortMapping |
static class |
MesosSlaveInfo.URI |
static class |
MesosSlaveInfo.Volume |
| Constructor and Description |
|---|
MesosSlaveInfo(String labelString,
hudson.model.Node.Mode mode,
String slaveCpus,
String slaveMem,
String maxExecutors,
String executorCpus,
String executorMem,
String remoteFSRoot,
String idleTerminationMinutes,
String slaveAttributes,
String jvmArgs,
String jnlpArgs,
MesosSlaveInfo.ExternalContainerInfo externalContainerInfo,
MesosSlaveInfo.ContainerInfo containerInfo,
List<MesosSlaveInfo.URI> additionalURIs) |
| Modifier and Type | Method and Description |
|---|---|
List<MesosSlaveInfo.URI> |
getAdditionalURIs() |
MesosSlaveInfo.ContainerInfo |
getContainerInfo() |
double |
getExecutorCpus() |
int |
getExecutorMem() |
MesosSlaveInfo.ExternalContainerInfo |
getExternalContainerInfo() |
int |
getIdleTerminationMinutes() |
String |
getJnlpArgs() |
String |
getJvmArgs() |
String |
getLabelString() |
int |
getMaxExecutors() |
hudson.model.Node.Mode |
getMode() |
String |
getRemoteFSRoot() |
net.sf.json.JSONObject |
getSlaveAttributes() |
double |
getSlaveCpus() |
int |
getSlaveMem() |
boolean |
matchesLabel(hudson.model.Label label)
Check if the label in the slave matches the provided label, either both are null or are the same.
|
@DataBoundConstructor public MesosSlaveInfo(String labelString, hudson.model.Node.Mode mode, String slaveCpus, String slaveMem, String maxExecutors, String executorCpus, String executorMem, String remoteFSRoot, String idleTerminationMinutes, String slaveAttributes, String jvmArgs, String jnlpArgs, MesosSlaveInfo.ExternalContainerInfo externalContainerInfo, MesosSlaveInfo.ContainerInfo containerInfo, List<MesosSlaveInfo.URI> additionalURIs) throws NumberFormatException
NumberFormatException@CheckForNull public String getLabelString()
public hudson.model.Node.Mode getMode()
public double getExecutorCpus()
public double getSlaveCpus()
public int getSlaveMem()
public int getMaxExecutors()
public int getExecutorMem()
public String getRemoteFSRoot()
public int getIdleTerminationMinutes()
public net.sf.json.JSONObject getSlaveAttributes()
public String getJvmArgs()
public String getJnlpArgs()
public MesosSlaveInfo.ExternalContainerInfo getExternalContainerInfo()
public MesosSlaveInfo.ContainerInfo getContainerInfo()
public List<MesosSlaveInfo.URI> getAdditionalURIs()
public boolean matchesLabel(@CheckForNull hudson.model.Label label)
label - Copyright © 2004-2016. All Rights Reserved.