com.atlassian.jira.rest.client.api.domain
Class Worklog

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

public class Worklog
extends java.lang.Object
implements AddressableEntity

Issue worklog - single worklog entry describing the work logged for selected issue

Since:
v0.1

Constructor Summary
Worklog(java.net.URI self, java.net.URI issueUri, BasicUser author, BasicUser updateAuthor, java.lang.String comment, org.joda.time.DateTime creationDate, org.joda.time.DateTime updateDate, org.joda.time.DateTime startDate, int minutesSpent, Visibility visibility)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 BasicUser getAuthor()
           
 java.lang.String getComment()
           
 org.joda.time.DateTime getCreationDate()
           
 java.net.URI getIssueUri()
           
 int getMinutesSpent()
           
 java.net.URI getSelf()
           
 org.joda.time.DateTime getStartDate()
           
 BasicUser getUpdateAuthor()
           
 org.joda.time.DateTime getUpdateDate()
           
 Visibility getVisibility()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Worklog

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

getSelf

public java.net.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 java.net.URI getIssueUri()

getAuthor

public BasicUser getAuthor()

getUpdateAuthor

public BasicUser getUpdateAuthor()

getComment

public java.lang.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 java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2013 Atlassian. All Rights Reserved.