Class WorklogInputParametersImpl
java.lang.Object
com.atlassian.jira.bc.issue.worklog.WorklogInputParametersImpl
- All Implemented Interfaces:
WorklogAdjustmentAmountInputParameters,WorklogInputParameters,WorklogNewEstimateInputParameters
public class WorklogInputParametersImpl
extends Object
implements WorklogInputParameters, WorklogNewEstimateInputParameters, WorklogAdjustmentAmountInputParameters
Implementation of the
WorklogInputParameters, WorklogNewEstimateInputParameters and
WorklogAdjustmentAmountInputParameters interfaces. Static builder methods are provided for convenience.- Since:
- v4.2
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA fluent-style Builder for constructingWorklogInputParameters,WorklogNewEstimateInputParametersandWorklogAdjustmentAmountInputParametersobjects. -
Method Summary
-
Method Details
-
getWorklogId
- Specified by:
getWorklogIdin interfaceWorklogInputParameters- Returns:
- identifies the worklog that the update validation will occur against
-
getIssue
- Specified by:
getIssuein interfaceWorklogInputParameters- Returns:
- issue that will have a worklog associated with it
-
getTimeSpent
- Specified by:
getTimeSpentin interfaceWorklogInputParameters- Returns:
- the time spent on the work
-
getStartDate
- Specified by:
getStartDatein interfaceWorklogInputParameters- Returns:
- the date on which the work was performed
-
getComment
- Specified by:
getCommentin interfaceWorklogInputParameters- Returns:
- The body of the comment associated with the worklog
-
getVisibility
- Specified by:
getVisibilityin interfaceWorklogInputParameters- Returns:
- The visibility level of the worklog
-
getNewEstimate
- Specified by:
getNewEstimatein interfaceWorklogNewEstimateInputParameters- Returns:
- The value to change the issue's remaining estimate to.
-
getAdjustmentAmount
- Specified by:
getAdjustmentAmountin interfaceWorklogAdjustmentAmountInputParameters- Returns:
- The amount to adjust the issue's remaining estimate by.
-
isEditableCheckRequired
public boolean isEditableCheckRequired()- Specified by:
isEditableCheckRequiredin interfaceWorklogInputParameters- Returns:
- do we require a check to be performed to see if the issue is in an editable state?
-
getErrorFieldPrefix
- Specified by:
getErrorFieldPrefixin interfaceWorklogInputParameters- Returns:
- the prefix to use when populating the error collection against specific fields. May be null to signify no prefix.
-
builder
- Returns:
- a blank Builder to use for
WorklogInputParametersconstruction
-
issue
- Parameters:
issue- the issue- Returns:
- a Builder with the Issue pre-populated
-
timeSpent
- Parameters:
timeSpent- the amount of time spent- Returns:
- a Builder with the time spent pre-populated
-
equals
-
hashCode
public int hashCode()
-