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

java.lang.Object
  extended by com.atlassian.jira.rest.client.api.domain.Worklog

public class Worklog
extends java.lang.Object

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()

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 © 2012 Atlassian. All Rights Reserved.