public class WorklogInput extends 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 adjustEstimateValueModifier and Type | Class and Description |
---|---|
static class |
WorklogInput.AdjustEstimate |
Constructor and Description |
---|
WorklogInput(URI self,
URI issueUri,
BasicUser author,
BasicUser updateAuthor,
String comment,
org.joda.time.DateTime startDate,
int minutesSpent,
Visibility visibility)
Creates new WorklogInput with given values.
|
WorklogInput(URI self,
URI issueUri,
BasicUser author,
BasicUser updateAuthor,
String comment,
org.joda.time.DateTime startDate,
int minutesSpent,
Visibility visibility,
WorklogInput.AdjustEstimate adjustEstimate,
String adjustEstimateValue)
Creates new WorklogInput with given values
|
Modifier and Type | Method and Description |
---|---|
static WorklogInput |
create(URI issueUri,
String comment,
org.joda.time.DateTime startDate,
int minutesSpent) |
static WorklogInput |
create(URI issueUri,
String comment,
org.joda.time.DateTime startDate,
int minutesSpent,
Visibility visibility) |
boolean |
equals(Object obj) |
WorklogInput.AdjustEstimate |
getAdjustEstimate() |
String |
getAdjustEstimateValue() |
BasicUser |
getAuthor() |
String |
getComment() |
URI |
getIssueUri() |
int |
getMinutesSpent() |
URI |
getSelf() |
org.joda.time.DateTime |
getStartDate() |
BasicUser |
getUpdateAuthor() |
Visibility |
getVisibility() |
int |
hashCode() |
String |
toString() |
public WorklogInput(@Nullable URI self, URI issueUri, @Nullable BasicUser author, @Nullable BasicUser updateAuthor, @Nullable String comment, org.joda.time.DateTime startDate, int minutesSpent, @Nullable Visibility visibility, WorklogInput.AdjustEstimate adjustEstimate, @Nullable 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.MANUAL
public WorklogInput(@Nullable URI self, URI issueUri, @Nullable BasicUser author, @Nullable BasicUser updateAuthor, @Nullable 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(URI issueUri, @Nullable String comment, org.joda.time.DateTime startDate, int minutesSpent)
public static WorklogInput create(URI issueUri, @Nullable String comment, org.joda.time.DateTime startDate, int minutesSpent, @Nullable Visibility visibility)
public URI getIssueUri()
public org.joda.time.DateTime getStartDate()
public int getMinutesSpent()
@Nullable public Visibility getVisibility()
public WorklogInput.AdjustEstimate getAdjustEstimate()
Copyright © 2013 Atlassian. All Rights Reserved.