Class JobExecution.JobExecutionBuilder

java.lang.Object
org.ivoa.dm.execution.JobExecution.JobExecutionBuilder
Enclosing class:
JobExecution

public static class JobExecution.JobExecutionBuilder extends Object
A builder class for JobExecution, mainly for use in the functional builder pattern.
  • Field Details

    • id

      public String id
      Unique job execution identifier.
    • runId

      public String runId
      this is a client supplied identifier - the system does nothing other than to return it as part of the description of the job.
    • ownerID

      public String ownerID
      the identifier of the user who owns the job execution.
    • tool

      public Tool tool
      the tool being executed.
    • inputs

      public List<ParameterValue> inputs
      the input parameter values for the job execution.
    • outputs

      public List<ParameterValue> outputs
      the output parameter values for the job execution.
    • status

      public ExecutionPhase status
      the current status of the job execution.
    • executionNode

      public ExecutionNode executionNode
      the node where the job is being executed.
    • creationTime

      public Date creationTime
      the time when the job execution was created.
    • startTime

      public Date startTime
      the start time of the job execution.
    • endTime

      public Date endTime
      the time at which the job execution finished.
    • destructionTime

      public Date destructionTime
      the time at which the job execution will be destroyed.
    • performanceMetrics

      public List<PerformanceMetric> performanceMetrics
      performance metrics for the job execution.
  • Constructor Details

    • JobExecutionBuilder

      public JobExecutionBuilder()
  • Method Details

    • create

      public JobExecution create()
      create a JobExecution from this builder.
      Returns:
      an object initialized from the builder.