Package 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.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
Denotes the possible states of the radio button group which captures what the user wishes to do with the estimate after logging work.static class
-
Method Summary
-
Method Details
-
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()
oradjustmentAmount()
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
-