@PublicApi public class

WorklogImpl

extends Object
implements Worklog
java.lang.Object
   ↳ com.atlassian.jira.issue.worklog.WorklogImpl

@PublicApi

This class is designed for plugins to consume (call its methods).

Clients of @PublicApi can expect that programs compiled against a given version will remain binary compatible with later versions of the @PublicApi as per each product's API policy as long as the client does not implement/extend @PublicApi interfaces or classes (refer to each product's API policy for the exact guarantee---usually binary compatibility is guaranteed at least across minor versions).

Note: since @PublicApi interfaces and classes are not designed to be implemented or extended by clients, we may perform certain types of binary-incompatible changes to these classes and interfaces, but these will not affect well-behaved clients that do not extend/implement these types (in general, only classes and interfaces annotated with @PublicSpi are safe to extend/implement).

Class Overview

Represents an issue worklog.

Summary

[Expand]
Inherited Fields
From interface com.atlassian.jira.entity.WithId
Public Constructors
WorklogImpl(WorklogManager worklogManager, Issue issue, Long id, String authorKey, String comment, Date startDate, String groupLevel, Long roleLevelId, Long timeSpent)
WorklogImpl(WorklogManager worklogManager, Issue issue, Long id, String authorKey, String comment, Date startDate, String groupLevel, Long roleLevelId, Long timeSpent, String updateAuthorKey, Date created, Date updated)
Public Methods
String getAuthor()
String getAuthorFullName()
String getAuthorKey()
ApplicationUser getAuthorObject()
String getComment()
Date getCreated()
String getGroupLevel()
Long getId()
Issue getIssue()
ProjectRole getRoleLevel()
Long getRoleLevelId()
Date getStartDate()
Long getTimeSpent()
String getUpdateAuthor()
String getUpdateAuthorFullName()
String getUpdateAuthorKey()
ApplicationUser getUpdateAuthorObject()
Date getUpdated()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.entity.WithId
From interface com.atlassian.jira.issue.worklog.Worklog

Public Constructors

public WorklogImpl (WorklogManager worklogManager, Issue issue, Long id, String authorKey, String comment, Date startDate, String groupLevel, Long roleLevelId, Long timeSpent)

public WorklogImpl (WorklogManager worklogManager, Issue issue, Long id, String authorKey, String comment, Date startDate, String groupLevel, Long roleLevelId, Long timeSpent, String updateAuthorKey, Date created, Date updated)

Public Methods

public String getAuthor ()

public String getAuthorFullName ()

public String getAuthorKey ()

public ApplicationUser getAuthorObject ()

public String getComment ()

public Date getCreated ()

public String getGroupLevel ()

public Long getId ()

public Issue getIssue ()

public ProjectRole getRoleLevel ()

public Long getRoleLevelId ()

public Date getStartDate ()

public Long getTimeSpent ()

public String getUpdateAuthor ()

public String getUpdateAuthorFullName ()

public String getUpdateAuthorKey ()

public ApplicationUser getUpdateAuthorObject ()

public Date getUpdated ()