java.lang.Object
com.atlassian.jira.rest.client.api.domain.Worklog
All Implemented Interfaces:
AddressableEntity

public class Worklog extends Object implements AddressableEntity
Issue worklog - single worklog entry describing the work logged for selected issue
Since:
v0.1
  • Constructor Details

    • Worklog

      public Worklog(URI self, URI issueUri, BasicUser author, BasicUser updateAuthor, @Nullable String comment, org.joda.time.DateTime creationDate, org.joda.time.DateTime updateDate, org.joda.time.DateTime startDate, int minutesSpent, @Nullable Visibility visibility)
  • Method Details

    • getSelf

      public URI getSelf()
      Specified by:
      getSelf in interface AddressableEntity
      Returns:
      URI to this resource or (usually) its complete version - when partial representation is embedded in other resources
    • getIssueUri

      public URI getIssueUri()
    • getAuthor

      public BasicUser getAuthor()
    • getUpdateAuthor

      public BasicUser getUpdateAuthor()
    • getComment

      public String getComment()
    • getCreationDate

      public org.joda.time.DateTime getCreationDate()
    • getUpdateDate

      public org.joda.time.DateTime getUpdateDate()
    • getStartDate

      public org.joda.time.DateTime getStartDate()
    • getMinutesSpent

      public int getMinutesSpent()
    • getVisibility

      @Nullable public Visibility getVisibility()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object