Class Job.Builder<_B>

java.lang.Object
org.javastro.ivoa.entities.uws.Job.Builder<_B>
All Implemented Interfaces:
com.kscs.util.jaxb.Buildable
Enclosing class:
Job

public static class Job.Builder<_B> extends Object implements com.kscs.util.jaxb.Buildable
  • Field Details

    • _parentBuilder

      protected final _B _parentBuilder
    • _storedValue

      protected final Job _storedValue
  • Constructor Details

    • Builder

      public Builder(_B _parentBuilder, Job _other, boolean _copy)
    • Builder

      public Builder(_B _parentBuilder, Job _other, boolean _copy, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
  • Method Details

    • end

      public _B end()
    • init

      protected <_P extends Job> _P init(_P _product)
    • withJobId

      public Job.Builder<_B> withJobId(String jobId)
      Sets the new value of "jobId" (any previous value will be replaced)
      Parameters:
      jobId - New value of the "jobId" property.
    • withRunId

      public Job.Builder<_B> withRunId(String runId)
      Sets the new value of "runId" (any previous value will be replaced)
      Parameters:
      runId - New value of the "runId" property.
    • withOwnerId

      public Job.Builder<_B> withOwnerId(String ownerId)
      Sets the new value of "ownerId" (any previous value will be replaced)
      Parameters:
      ownerId - New value of the "ownerId" property.
    • withPhase

      public Job.Builder<_B> withPhase(ExecutionPhase phase)
      Sets the new value of "phase" (any previous value will be replaced)
      Parameters:
      phase - New value of the "phase" property.
    • withQuote

      public Job.Builder<_B> withQuote(LocalDateTime quote)
      Sets the new value of "quote" (any previous value will be replaced)
      Parameters:
      quote - New value of the "quote" property.
    • withCreationTime

      public Job.Builder<_B> withCreationTime(LocalDateTime creationTime)
      Sets the new value of "creationTime" (any previous value will be replaced)
      Parameters:
      creationTime - New value of the "creationTime" property.
    • withStartTime

      public Job.Builder<_B> withStartTime(LocalDateTime startTime)
      Sets the new value of "startTime" (any previous value will be replaced)
      Parameters:
      startTime - New value of the "startTime" property.
    • withEndTime

      public Job.Builder<_B> withEndTime(LocalDateTime endTime)
      Sets the new value of "endTime" (any previous value will be replaced)
      Parameters:
      endTime - New value of the "endTime" property.
    • withExecutionDuration

      public Job.Builder<_B> withExecutionDuration(int executionDuration)
      Sets the new value of "executionDuration" (any previous value will be replaced)
      Parameters:
      executionDuration - New value of the "executionDuration" property.
    • withDestruction

      public Job.Builder<_B> withDestruction(LocalDateTime destruction)
      Sets the new value of "destruction" (any previous value will be replaced)
      Parameters:
      destruction - New value of the "destruction" property.
    • withParameters

      public Job.Builder<_B> withParameters(Parameters parameters)
      Sets the new value of "parameters" (any previous value will be replaced)
      Parameters:
      parameters - New value of the "parameters" property.
    • withParameters

      public Parameters.Builder<? extends Job.Builder<_B>> withParameters()
      Returns the existing builder or a new builder to build the value of the "parameters" property. Use Parameters.Builder.end() to return to the current builder.
      Returns:
      A new builder to build the value of the "parameters" property. Use Parameters.Builder.end() to return to the current builder.
    • withResults

      public Job.Builder<_B> withResults(Results results)
      Sets the new value of "results" (any previous value will be replaced)
      Parameters:
      results - New value of the "results" property.
    • withResults

      public Results.Builder<? extends Job.Builder<_B>> withResults()
      Returns the existing builder or a new builder to build the value of the "results" property. Use Results.Builder.end() to return to the current builder.
      Returns:
      A new builder to build the value of the "results" property. Use Results.Builder.end() to return to the current builder.
    • withErrorSummary

      public Job.Builder<_B> withErrorSummary(ErrorSummary errorSummary)
      Sets the new value of "errorSummary" (any previous value will be replaced)
      Parameters:
      errorSummary - New value of the "errorSummary" property.
    • withErrorSummary

      public ErrorSummary.Builder<? extends Job.Builder<_B>> withErrorSummary()
      Returns the existing builder or a new builder to build the value of the "errorSummary" property. Use ErrorSummary.Builder.end() to return to the current builder.
      Returns:
      A new builder to build the value of the "errorSummary" property. Use ErrorSummary.Builder.end() to return to the current builder.
    • withJobInfo

      public Job.Builder<_B> withJobInfo(Job.JobInfo jobInfo)
      Sets the new value of "jobInfo" (any previous value will be replaced)
      Parameters:
      jobInfo - New value of the "jobInfo" property.
    • withVersion

      public Job.Builder<_B> withVersion(String version)
      Sets the new value of "version" (any previous value will be replaced)
      Parameters:
      version - New value of the "version" property.
    • build

      public Job build()
      Specified by:
      build in interface com.kscs.util.jaxb.Buildable
    • copyOf

      public Job.Builder<_B> copyOf(Job _other)
    • copyOf

      public Job.Builder<_B> copyOf(Job.Builder _other)