Class JobRequest

java.lang.Object
com.mayam.wf.ws.rest.domain.JobRequest

public class JobRequest extends Object
  • Constructor Details

    • JobRequest

      public JobRequest()
  • Method Details

    • getJobName

      public String getJobName()
      Returns:
      The name of the job to execute
    • setJobName

      public void setJobName(String jobName)
    • getInputFile

      public String getInputFile()
      Returns:
      Full path to the input file
    • setInputFile

      public void setInputFile(String inputFile)
    • getOutputFile

      public String getOutputFile()
      Returns:
      Full path to the output file
    • setOutputFile

      public void setOutputFile(String outputFile)
    • getJobId

      public Long getJobId()
      Returns:
      The unique ID for the job
    • setJobId

      public void setJobId(Long jobId)
    • getArgs

      public List<String> getArgs()
      Returns:
      Extra arguments for the job
    • setArgs

      public void setArgs(List<String> args)
    • getProgressTopic

      public String getProgressTopic()
      Returns:
      The MQ-topic used for progress reporting
    • setProgressTopic

      public void setProgressTopic(String progressTopic)
    • getJobOptions

      public Set<JobRequest.JobOption> getJobOptions()
      Returns:
      The options for the job
    • setJobOptions

      public void setJobOptions(Set<JobRequest.JobOption> jobOptions)
    • getStdinData

      public String getStdinData()
      Returns:
      The data expected to be send on Stdin to the job
    • setStdinData

      public void setStdinData(String dataOnStdin)
    • getTimeout

      public Integer getTimeout()
    • setTimeout

      public void setTimeout(Integer timeout)
    • toString

      public String toString()
      Overrides:
      toString in class Object