Klasse JobStep


@Entity public class JobStep extends PersistentObject
A single processor execution to produce a defined output product based on a defined set of required input product (modelled as ProductQuery objects). A JobStep can be executed as soon as all its ProductQuerys are satisfied.
Autor:
Dr. Thomas Bassler
  • Konstruktordetails

    • JobStep

      public JobStep()
  • Methodendetails

    • getStdoutLogLevel

      public JobStep.StdLogLevel getStdoutLogLevel()
      Gibt zurück:
      the stdoutLogLevel
    • getStderrLogLevel

      public JobStep.StdLogLevel getStderrLogLevel()
      Gibt zurück:
      the stderrLogLevel
    • setStdoutLogLevel

      public void setStdoutLogLevel(JobStep.StdLogLevel stdoutLogLevel)
      Parameter:
      stdoutLogLevel - the stdoutLogLevel to set
    • setStderrLogLevel

      public void setStderrLogLevel(JobStep.StdLogLevel stderrLogLevel)
      Parameter:
      stderrLogLevel - the stderrLogLevel to set
    • getIsFailed

      public Boolean getIsFailed()
      Gibt zurück:
      the isFailed
    • isFailed

      public Boolean isFailed()
      Gibt zurück:
      the isFailed
    • setIsFailed

      public void setIsFailed(Boolean isFailed)
      Parameter:
      isFailed - the isFailed to set
    • getJob

      public Job getJob()
      Gets the enclosing job
      Gibt zurück:
      the job
    • setJob

      public void setJob(Job job)
      Sets the enclosing job
      Parameter:
      job - the job to set
    • getJobStepState

      public JobStep.JobStepState getJobStepState()
      Gets the state of the job step
      Gibt zurück:
      the jobStepState
    • setJobStepState

      @Transactional public void setJobStepState(JobStep.JobStepState jobStepState) throws IllegalStateException
      Sets the state of the job step (and optionally its failure flag) and propagates this state to the job
      Parameter:
      jobStepState - the jobStepState to set
      Löst aus:
      IllegalStateException - if the intended job step state transition is illegal
    • getPriority

      public Integer getPriority()
      Gets the processing priority
      Gibt zurück:
      the priority
    • setPriority

      public void setPriority(Integer priority)
      Sets the processing priority
      Parameter:
      priority - the priority to set
    • getOutputParameters

      public Map<String,Parameter> getOutputParameters()
      Gets the output parameters
      Gibt zurück:
      the outputParameters
    • setOutputParameters

      public void setOutputParameters(Map<String,Parameter> outputParameters)
      Sets the output parameters
      Parameter:
      outputParameters - the outputParameters to set
    • getProcessingMode

      public String getProcessingMode()
      Gets the processing mode to run the processor in
      Gibt zurück:
      the processingMode
    • setProcessingMode

      public void setProcessingMode(String processingMode)
      Sets the processing mode to run the processor in
      Parameter:
      processingMode - the processingMode to set
    • getInputProductQueries

      public Set<ProductQuery> getInputProductQueries()
      Gets the product queries for the input products
      Gibt zurück:
      the inputProductQueries
    • setInputProductQueries

      public void setInputProductQueries(Set<ProductQuery> inputProductQueries)
      Sets the product queries for the input products
      Parameter:
      inputProductQueries - the inputProductQueries to set
    • getOutputProduct

      public Product getOutputProduct()
      Gets the output product
      Gibt zurück:
      the outputProduct
    • setOutputProduct

      public void setOutputProduct(Product outputProduct)
      Sets the output product
      Parameter:
      outputProduct - the outputProduct to set
    • getProcessingStartTime

      public Instant getProcessingStartTime()
      Gets the start time of the processing job
      Gibt zurück:
      the processing start time
    • setProcessingStartTime

      public void setProcessingStartTime(Instant processingStartTime)
      Sets the start time of the processing job
      Parameter:
      processingStartTime - the processing start time to set
    • getProcessingCompletionTime

      public Instant getProcessingCompletionTime()
      Gets the completion time of the processing job
      Gibt zurück:
      the processing completion time
    • setProcessingCompletionTime

      public void setProcessingCompletionTime(Instant processingCompletionTime)
      Sets the completion time of the processing job
      Parameter:
      processingCompletionTime - the processing completion time to set
    • getProcessingStdOut

      public String getProcessingStdOut()
      Gets the standard output of the processing job
      Gibt zurück:
      the processing standard output
    • setProcessingStdOut

      public void setProcessingStdOut(String processingStdOut)
      Sets the standard output of the processing job
      Parameter:
      processingStdOut - the processing standard output to set
    • getProcessingStdErr

      public String getProcessingStdErr()
      Gets the standard error output of the processing job
      Gibt zurück:
      the processing standard error output
    • setProcessingStdErr

      public void setProcessingStdErr(String processingStdErr)
      Sets the standard error output of the processing job
      Parameter:
      processingStdErr - the processing standard error output to set
    • getJobOrderFilename

      public String getJobOrderFilename()
      Gets the Job Order filename
      Gibt zurück:
      the Job Order filename
    • setJobOrderFilename

      public void setJobOrderFilename(String jobOrderFilename)
      Sets the Job Order filename
      Parameter:
      jobOrderFilename - the Job Order filename to set
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse PersistentObject
    • equals

      public boolean equals(Object obj)
      Beschreibung aus Klasse kopiert: PersistentObject
      Test equality of persistent objects based on their unique ID.
      Setzt außer Kraft:
      equals in Klasse PersistentObject
      Parameter:
      obj - the object to compare this object to
      Gibt zurück:
      true, if obj is a persistent object and has the same ID, false otherwise
      Siehe auch:
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object