public interface JobConfig
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getEnvironment() |
String |
getExecutorCommand(String jobId,
String jobUrl,
int index) |
int |
getExecutorCount() |
String |
getHost() |
List<JobCommand> |
getMainCommands(JobContext jc) |
int |
getPort() |
default List<JobCommand> |
getPostCommands(JobContext jc) |
default List<JobCommand> |
getPreCommands(JobContext jc) |
default List<JobCommand> |
getShutdownCommands() |
default String |
getSourcePath() |
List<JobCommand> |
getStartupCommands() |
default int |
getTimeoutMinutes() |
default String |
getUploadDir() |
default void |
startExecutors(String jobId,
String jobUrl) |
String getHost()
int getPort()
int getExecutorCount()
default int getTimeoutMinutes()
default String getSourcePath()
default String getUploadDir()
default void startExecutors(String jobId, String jobUrl) throws Exception
ExceptionList<JobCommand> getStartupCommands()
default List<JobCommand> getShutdownCommands()
List<JobCommand> getMainCommands(JobContext jc)
default List<JobCommand> getPreCommands(JobContext jc)
default List<JobCommand> getPostCommands(JobContext jc)
Copyright © 2020. All rights reserved.