Class Task.TaskBuilder<C extends Task,B extends Task.TaskBuilder<C,B>>

Enclosing class:
Task

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

    • TaskBuilder

      public TaskBuilder()
  • Method Details

    • $fillValuesFrom

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

      public B typeName(String typeName)
      Fixed typeName for Tasks.
      Overrides:
      typeName in class Reference.ReferenceBuilder<C extends Task,B extends Task.TaskBuilder<C,B>>
      Returns:
      this.
    • taskAction

      public B taskAction(Action taskAction)
    • taskActions

      public B taskActions(Collection<? extends Action> taskActions)
    • clearTaskActions

      public B clearTaskActions()
    • taskCreatedBy

      public B taskCreatedBy(String taskCreatedBy)
      username of the user who created this task
      Returns:
      this.
    • taskExecutionAction

      public B taskExecutionAction(String taskExecutionAction)
      action executed by the recipient
      Returns:
      this.
    • taskExecutionComment

      public B taskExecutionComment(String taskExecutionComment)
      comment for the action executed by user
      Returns:
      this.
    • taskExpiresAt

      public B taskExpiresAt(Long taskExpiresAt)
      Time (epoch) at which the task expires .
      Returns:
      this.
    • taskIntegrationConfig

      public B taskIntegrationConfig(String taskIntegrationConfig)
      contains external integration config for the task
      Returns:
      this.
    • taskIsRead

      public B taskIsRead(Boolean taskIsRead)
      flag to make task read/unread
      Returns:
      this.
    • taskProposals

      public B taskProposals(String taskProposals)
      contains the payload that is proposed to the task
      Returns:
      this.
    • taskRecipient

      public B taskRecipient(String taskRecipient)
      recipient of the task
      Returns:
      this.
    • taskRelatedAssetGuid

      public B taskRelatedAssetGuid(String taskRelatedAssetGuid)
      assetId to preview
      Returns:
      this.
    • taskRequestor

      public B taskRequestor(String taskRequestor)
      requestor of the task
      Returns:
      this.
    • taskRequestorComment

      public B taskRequestorComment(String taskRequestorComment)
      comment of requestor for the task
      Returns:
      this.
    • taskType

      public B taskType(String taskType)
      type of task
      Returns:
      this.
    • taskUpdatedBy

      public B taskUpdatedBy(String taskUpdatedBy)
      username of the user who updated this task
      Returns:
      this.
    • self

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

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

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