public class WorklogInput
extends java.lang.Object
WorklogInput.AdjustEstimate.AUTO or WorklogInput.AdjustEstimate.LEAVE adjustEstimateValue
is not usedWorklogInput.AdjustEstimate.NEW then remaining estimate is set to adjustEstimateValueWorklogInput.AdjustEstimate.MANUAL then remaining estimate is reduced by adjustEstimateValue| Modifier and Type | Class and Description |
|---|---|
static class |
WorklogInput.AdjustEstimate |
| Constructor and Description |
|---|
WorklogInput(java.net.URI self,
java.net.URI issueUri,
BasicUser author,
BasicUser updateAuthor,
java.lang.String comment,
org.joda.time.DateTime startDate,
int minutesSpent,
Visibility visibility)
Creates new WorklogInput with given values.
|
WorklogInput(java.net.URI self,
java.net.URI issueUri,
BasicUser author,
BasicUser updateAuthor,
java.lang.String comment,
org.joda.time.DateTime startDate,
int minutesSpent,
Visibility visibility,
WorklogInput.AdjustEstimate adjustEstimate,
java.lang.String adjustEstimateValue)
Creates new WorklogInput with given values
|
| Modifier and Type | Method and Description |
|---|---|
static WorklogInput |
create(java.net.URI issueUri,
java.lang.String comment,
org.joda.time.DateTime startDate,
int minutesSpent) |
static WorklogInput |
create(java.net.URI issueUri,
java.lang.String comment,
org.joda.time.DateTime startDate,
int minutesSpent,
Visibility visibility) |
boolean |
equals(java.lang.Object obj) |
WorklogInput.AdjustEstimate |
getAdjustEstimate() |
java.lang.String |
getAdjustEstimateValue() |
BasicUser |
getAuthor() |
java.lang.String |
getComment() |
java.net.URI |
getIssueUri() |
int |
getMinutesSpent() |
java.net.URI |
getSelf() |
org.joda.time.DateTime |
getStartDate() |
BasicUser |
getUpdateAuthor() |
Visibility |
getVisibility() |
int |
hashCode() |
java.lang.String |
toString() |
public WorklogInput(@Nullable
java.net.URI self,
java.net.URI issueUri,
@Nullable
BasicUser author,
@Nullable
BasicUser updateAuthor,
@Nullable
java.lang.String comment,
org.joda.time.DateTime startDate,
int minutesSpent,
@Nullable
Visibility visibility,
WorklogInput.AdjustEstimate adjustEstimate,
@Nullable
java.lang.String adjustEstimateValue)
self - URI to this worklog, pass null if this is new worklog item.issueUri - URI to destination issueauthor - author of this worklogupdateAuthor - author of worklog actualizationcomment - comment attached to worklogstartDate - date of work startminutesSpent - time spend in minutesvisibility - visibility settings for this worklogadjustEstimate - adjust estimate optionadjustEstimateValue - value for estimate adjustment. Only used when adjustEstimate is set
to WorklogInput.AdjustEstimate.NEW or WorklogInput.AdjustEstimate.MANUALpublic WorklogInput(@Nullable
java.net.URI self,
java.net.URI issueUri,
@Nullable
BasicUser author,
@Nullable
BasicUser updateAuthor,
@Nullable
java.lang.String comment,
org.joda.time.DateTime startDate,
int minutesSpent,
@Nullable
Visibility visibility)
WorklogInput.AdjustEstimate.AUTO.self - URI to this worklog, pass null if this is new worklog item.issueUri - URI to destination issueauthor - author of this worklogupdateAuthor - author of worklog actualizationcomment - comment attached to worklogstartDate - date of work startminutesSpent - time spend in minutesvisibility - visibility settings for this worklogpublic static WorklogInput create(java.net.URI issueUri, @Nullable java.lang.String comment, org.joda.time.DateTime startDate, int minutesSpent)
public static WorklogInput create(java.net.URI issueUri, @Nullable java.lang.String comment, org.joda.time.DateTime startDate, int minutesSpent, @Nullable Visibility visibility)
@Nullable public java.net.URI getSelf()
public java.net.URI getIssueUri()
@Nullable public BasicUser getAuthor()
@Nullable public BasicUser getUpdateAuthor()
@Nullable public java.lang.String getComment()
public org.joda.time.DateTime getStartDate()
public int getMinutesSpent()
@Nullable public Visibility getVisibility()
public WorklogInput.AdjustEstimate getAdjustEstimate()
@Nullable public java.lang.String getAdjustEstimateValue()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2013 Atlassian. All Rights Reserved.