Klasse Worklog.WorklogBuilder

java.lang.Object
io.github.primelib.jira4j.restv3.model.Worklog.WorklogBuilder
Umschließende Klasse:
Worklog

public static class Worklog.WorklogBuilder extends Object
  • Methodendetails

    • author

      public Worklog.WorklogBuilder author(WorklogAuthor author)
      Gibt zurück:
      this.
    • comment

      public Worklog.WorklogBuilder comment(Object comment)
      A comment about the worklog in [Atlassian Document Format](https://developer.atlassian.com/cloud/jira/platform/apis/document/structure/). Optional when creating or updating a worklog.
      Gibt zurück:
      this.
    • created

      public Worklog.WorklogBuilder created(OffsetDateTime created)
      The datetime on which the worklog was created.
      Gibt zurück:
      this.
    • id

      The ID of the worklog record.
      Gibt zurück:
      this.
    • issueId

      public Worklog.WorklogBuilder issueId(String issueId)
      The ID of the issue this worklog is for.
      Gibt zurück:
      this.
    • properties

      public Worklog.WorklogBuilder properties(List<EntityProperty> properties)
      Details of properties for the worklog. Optional when creating or updating a worklog.
      Gibt zurück:
      this.
    • self

      public Worklog.WorklogBuilder self(URI self)
      The URL of the worklog item.
      Gibt zurück:
      this.
    • started

      public Worklog.WorklogBuilder started(OffsetDateTime started)
      The datetime on which the worklog effort was started. Required when creating a worklog. Optional when updating a worklog.
      Gibt zurück:
      this.
    • timeSpent

      public Worklog.WorklogBuilder timeSpent(String timeSpent)
      The time spent working on the issue as days (\\#d), hours (\\#h), or minutes (\\#m or \\#). Required when creating a worklog if timeSpentSeconds isn't provided. Optional when updating a worklog. Cannot be provided if timeSpentSecond is provided.
      Gibt zurück:
      this.
    • timeSpentSeconds

      public Worklog.WorklogBuilder timeSpentSeconds(Long timeSpentSeconds)
      The time in seconds spent working on the issue. Required when creating a worklog if timeSpent isn't provided. Optional when updating a worklog. Cannot be provided if timeSpent is provided.
      Gibt zurück:
      this.
    • updateAuthor

      public Worklog.WorklogBuilder updateAuthor(WorklogUpdateAuthor updateAuthor)
      Gibt zurück:
      this.
    • updated

      public Worklog.WorklogBuilder updated(OffsetDateTime updated)
      The datetime on which the worklog was last updated.
      Gibt zurück:
      this.
    • visibility

      public Worklog.WorklogBuilder visibility(WorklogVisibility visibility)
      Gibt zurück:
      this.
    • build

      public Worklog build()
    • toString

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