Interface WorklogInputParameters

All Known Subinterfaces:
WorklogAdjustmentAmountInputParameters, WorklogNewEstimateInputParameters
All Known Implementing Classes:
WorklogInputParametersImpl

@PublicApi public interface WorklogInputParameters

An aggregate of the input parameters required to validate and perform worklog creation and update service calls. This interface has two sub-interfaces: WorklogNewEstimateInputParameters and WorklogAdjustmentAmountInputParameters. They are used for specifying additional information to validation service calls.

To build instances of this class, see the WorklogInputParametersImpl builder methods.

Since:
v4.2
See Also:
  • Method Details

    • getWorklogId

      Long getWorklogId()
      Returns:
      identifies the worklog that the update validation will occur against
    • getIssue

      Issue getIssue()
      Returns:
      issue that will have a worklog associated with it
    • getTimeSpent

      String getTimeSpent()
      Returns:
      the time spent on the work
    • getStartDate

      Date getStartDate()
      Returns:
      the date on which the work was performed
    • getComment

      String getComment()
      Returns:
      The body of the comment associated with the worklog
    • getVisibility

      Visibility getVisibility()
      Returns:
      The visibility level of the worklog
    • isEditableCheckRequired

      boolean isEditableCheckRequired()
      Returns:
      do we require a check to be performed to see if the issue is in an editable state?
    • getErrorFieldPrefix

      String getErrorFieldPrefix()
      Returns:
      the prefix to use when populating the error collection against specific fields. May be null to signify no prefix.