Package com.intuit.karate.job
Interface JobConfig<T>
-
- All Known Implementing Classes:
JobConfigBase,MavenChromeJobConfig,MavenJobConfig
public interface JobConfig<T>- Author:
- pthomas3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Map<String,String>getEnvironment()StringgetExecutorCommand(String jobId, String jobUrl, int index)intgetExecutorCount()default StringgetExecutorDir()StringgetHost()default List<T>getInitialChunks()List<JobCommand>getMainCommands(JobChunk<T> jc)intgetPort()default List<JobCommand>getPostCommands(JobChunk<T> jc)default List<JobCommand>getPreCommands(JobChunk<T> jc)default List<JobCommand>getShutdownCommands()default StringgetSourcePath()List<JobCommand>getStartupCommands()default intgetTimeoutMinutes()ThandleUpload(JobChunk<T> chunk, File file)voidonStart(String jobId, String jobUrl)voidonStop()
-
-
-
Method Detail
-
getHost
String getHost()
-
getPort
int getPort()
-
getExecutorCount
int getExecutorCount()
-
getTimeoutMinutes
default int getTimeoutMinutes()
-
getSourcePath
default String getSourcePath()
-
getExecutorDir
default String getExecutorDir()
-
onStop
void onStop()
-
getStartupCommands
List<JobCommand> getStartupCommands()
-
getShutdownCommands
default List<JobCommand> getShutdownCommands()
-
getMainCommands
List<JobCommand> getMainCommands(JobChunk<T> jc)
-
getPreCommands
default List<JobCommand> getPreCommands(JobChunk<T> jc)
-
getPostCommands
default List<JobCommand> getPostCommands(JobChunk<T> jc)
-
-