Class WorkflowRun.WorkflowRunBuilder<C extends WorkflowRun,B extends WorkflowRun.WorkflowRunBuilder<C,B>>

Enclosing class:
WorkflowRun

public abstract static class WorkflowRun.WorkflowRunBuilder<C extends WorkflowRun,B extends WorkflowRun.WorkflowRunBuilder<C,B>> extends Asset.AssetBuilder<C,B>
  • Constructor Details

    • WorkflowRunBuilder

      public WorkflowRunBuilder()
  • Method Details

    • $fillValuesFrom

      protected B $fillValuesFrom(C instance)
      Overrides:
      $fillValuesFrom in class Asset.AssetBuilder<C extends WorkflowRun,B extends WorkflowRun.WorkflowRunBuilder<C,B>>
    • typeName

      public B typeName(String typeName)
      Fixed typeName for WorkflowRuns.
      Overrides:
      typeName in class Reference.ReferenceBuilder<C extends WorkflowRun,B extends WorkflowRun.WorkflowRunBuilder<C,B>>
      Returns:
      this.
    • workflowActionChoice

      public B workflowActionChoice(String workflowActionChoice)
    • workflowActionChoices

      public B workflowActionChoices(Collection<? extends String> workflowActionChoices)
    • clearWorkflowActionChoices

      public B clearWorkflowActionChoices()
    • workflowConfig

      public B workflowConfig(String workflowConfig)
      Details of the workflow.
      Returns:
      this.
    • workflowCreatedBy

      public B workflowCreatedBy(String workflowCreatedBy)
      Username of the user who created this workflow.
      Returns:
      this.
    • workflowDeletedAt

      public B workflowDeletedAt(Long workflowDeletedAt)
      Deletion time of this workflow.
      Returns:
      this.
    • workflowRunActionChoice

      public B workflowRunActionChoice(String workflowRunActionChoice)
    • workflowRunActionChoices

      public B workflowRunActionChoices(Collection<? extends String> workflowRunActionChoices)
    • clearWorkflowRunActionChoices

      public B clearWorkflowRunActionChoices()
    • workflowRunComment

      public B workflowRunComment(String workflowRunComment)
      The comment added by the requester
      Returns:
      this.
    • workflowRunConfig

      public B workflowRunConfig(String workflowRunConfig)
      Details of the approval workflow run.
      Returns:
      this.
    • workflowRunCreatedBy

      public B workflowRunCreatedBy(String workflowRunCreatedBy)
      Username of the user who created this workflow run.
      Returns:
      this.
    • workflowRunDeletedAt

      public B workflowRunDeletedAt(Long workflowRunDeletedAt)
      Deletion time of this workflow run.
      Returns:
      this.
    • workflowRunExpiresAt

      public B workflowRunExpiresAt(Long workflowRunExpiresAt)
      Time at which this run will expire.
      Returns:
      this.
    • workflowRunExpiresIn

      public B workflowRunExpiresIn(String workflowRunExpiresIn)
      Time duration after which a run of this workflow will expire.
      Returns:
      this.
    • workflowRunOnAssetGuid

      public B workflowRunOnAssetGuid(String workflowRunOnAssetGuid)
      The asset for which this run was created.
      Returns:
      this.
    • workflowRunStatus

      public B workflowRunStatus(WorkflowRunStatus workflowRunStatus)
      Status of the run.
      Returns:
      this.
    • workflowRunType

      public B workflowRunType(WorkflowRunType workflowRunType)
      Type of the workflow from which this run was created.
      Returns:
      this.
    • workflowRunUpdatedBy

      public B workflowRunUpdatedBy(String workflowRunUpdatedBy)
      Username of the user who updated this workflow run.
      Returns:
      this.
    • workflowRunWorkflowGuid

      public B workflowRunWorkflowGuid(String workflowRunWorkflowGuid)
      GUID of the workflow from which this run was created.
      Returns:
      this.
    • workflowStatus

      public B workflowStatus(WorkflowStatus workflowStatus)
      Status of the workflow.
      Returns:
      this.
    • workflowTemplateGuid

      public B workflowTemplateGuid(String workflowTemplateGuid)
      GUID of the workflow template from which this workflow was created.
      Returns:
      this.
    • workflowType

      public B workflowType(WorkflowType workflowType)
      Type of the workflow.
      Returns:
      this.
    • workflowUpdatedBy

      public B workflowUpdatedBy(String workflowUpdatedBy)
      Username of the user who updated this workflow.
      Returns:
      this.
    • self

      protected abstract B self()
      Specified by:
      self in class Asset.AssetBuilder<C extends WorkflowRun,B extends WorkflowRun.WorkflowRunBuilder<C,B>>
    • build

      public abstract C build()
      Specified by:
      build in class Asset.AssetBuilder<C extends WorkflowRun,B extends WorkflowRun.WorkflowRunBuilder<C,B>>
    • toString

      public String toString()
      Overrides:
      toString in class Asset.AssetBuilder<C extends WorkflowRun,B extends WorkflowRun.WorkflowRunBuilder<C,B>>