com.atlassian.jira.issue.fields.WorklogSystemField.WorklogValue |
Class Overview
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.
Summary
Nested Classes |
enum |
WorklogSystemField.WorklogValue.AdjustEstimate |
Denotes the possible states of the radio button group which captures what the user wishes to do with the
estimate after logging work. |
class |
WorklogSystemField.WorklogValue.Builder |
|
Public Methods
public
String
adjustmentAmount
()
public
Long
adjustmentAmountLong
()
public
boolean
isActivated
()
Returns
- true if the "Log Work" checkbox is checked.
public
boolean
isCreateIssue
()
Returns
- true if we are logging work as we are creating an issue; false otherwise
public
boolean
isEditIssue
()
Returns
- true if we are logging work as we are editing an issue (on the Edit Screen); false otherwise
public
Long
newEstimateLong
()
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.