public class MavenJobConfig extends Object implements JobConfig
| Modifier and Type | Field and Description |
|---|---|
protected String |
dockerImage |
protected List<String> |
envPropKeys |
protected List<String> |
sysPropKeys |
| Constructor and Description |
|---|
MavenJobConfig(int executorCount,
String host,
int port) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEnvPropKey(String key) |
void |
addSysPropKey(String key) |
Map<String,String> |
getEnvironment() |
String |
getExecutorCommand(String jobId,
String jobUrl,
int index) |
int |
getExecutorCount() |
String |
getHost() |
List<JobCommand> |
getMainCommands(JobContext chunk) |
int |
getPort() |
List<JobCommand> |
getShutdownCommands() |
List<JobCommand> |
getStartupCommands() |
void |
setDockerImage(String dockerImage) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPostCommands, getPreCommands, getSourcePath, getTimeoutMinutes, getUploadDir, startExecutorsprotected String dockerImage
public MavenJobConfig(int executorCount,
String host,
int port)
public String getExecutorCommand(String jobId, String jobUrl, int index)
getExecutorCommand in interface JobConfigpublic void setDockerImage(String dockerImage)
public void addSysPropKey(String key)
public void addEnvPropKey(String key)
public int getExecutorCount()
getExecutorCount in interface JobConfigpublic List<JobCommand> getMainCommands(JobContext chunk)
getMainCommands in interface JobConfigpublic List<JobCommand> getStartupCommands()
getStartupCommands in interface JobConfigpublic List<JobCommand> getShutdownCommands()
getShutdownCommands in interface JobConfigpublic Map<String,String> getEnvironment()
getEnvironment in interface JobConfigCopyright © 2020. All rights reserved.