com.atlassian.jira.issue.fields
Interface WorklogSystemField.WorklogValue
- Enclosing class:
- WorklogSystemField
public static interface WorklogSystemField.WorklogValue
A value object used to aggregate all the transient values required in taking input from the UI, validating it and
creating the resultant work logs.
id
Long id()
isActivated
boolean isActivated()
- Returns:
- true if the "Log Work" checkbox is checked.
timeLogged
String timeLogged()
startDate
String startDate()
adjustEstimate
WorklogSystemField.WorklogValue.AdjustEstimate adjustEstimate()
newEstimate
String newEstimate()
newEstimateLong
Long newEstimateLong()
adjustmentAmount
String adjustmentAmount()
adjustmentAmountLong
Long adjustmentAmountLong()
comment
String comment()
commentLevel
String commentLevel()
worklogResult
WorklogResult worklogResult()
- Returns:
- the result after invoking the
WorklogService
's "validateCreate" methods. Stored on the WorklogValue
so that it can be accessed in the different phases of the field lifecycle.
isSet
boolean isSet()
- Returns:
- true if one of
timeLogged()
, newEstimate()
or adjustmentAmount()
is set.
isCreateIssue
boolean isCreateIssue()
- Returns:
- true if we are logging work as we are creating an issue; false otherwise
isEditIssue
boolean isEditIssue()
- Returns:
- true if we are logging work as we are editing an issue (on the Edit Screen); false otherwise
Copyright © 2002-2014 Atlassian. All Rights Reserved.