Package com.mayam.wf.ws.rest.domain
Class JobRequest
java.lang.Object
com.mayam.wf.ws.rest.domain.JobRequest
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetArgs()
getJobId()
void
void
setInputFile
(String inputFile) void
void
setJobName
(String jobName) void
setJobOptions
(Set<JobRequest.JobOption> jobOptions) void
setOutputFile
(String outputFile) void
setProgressTopic
(String progressTopic) void
setStdinData
(String dataOnStdin) void
setTimeout
(Integer timeout) toString()
-
Constructor Details
-
JobRequest
public JobRequest()
-
-
Method Details
-
getJobName
- Returns:
- The name of the job to execute
-
setJobName
-
getInputFile
- Returns:
- Full path to the input file
-
setInputFile
-
getOutputFile
- Returns:
- Full path to the output file
-
setOutputFile
-
getJobId
- Returns:
- The unique ID for the job
-
setJobId
-
getArgs
- Returns:
- Extra arguments for the job
-
setArgs
-
getProgressTopic
- Returns:
- The MQ-topic used for progress reporting
-
setProgressTopic
-
getJobOptions
- Returns:
- The options for the job
-
setJobOptions
-
getStdinData
- Returns:
- The data expected to be send on Stdin to the job
-
setStdinData
-
getTimeout
-
setTimeout
-
toString
-