public static class WorklogInputParametersImpl.Builder extends Object
WorklogInputParameters, WorklogNewEstimateInputParameters and
WorklogAdjustmentAmountInputParameters objects.| Constructor and Description |
|---|
Builder() |
public WorklogInputParametersImpl.Builder worklogId(Long worklogId)
public WorklogInputParametersImpl.Builder issue(Issue issue)
public WorklogInputParametersImpl.Builder timeSpent(String timeSpent)
public WorklogInputParametersImpl.Builder startDate(Date startDate)
public WorklogInputParametersImpl.Builder comment(String comment)
@Deprecated public WorklogInputParametersImpl.Builder groupLevel(String groupLevel)
visibility(com.atlassian.jira.bc.issue.visibility.Visibility) instead. Since 6.4@Deprecated public WorklogInputParametersImpl.Builder roleLevelId(String roleLevelId)
visibility(com.atlassian.jira.bc.issue.visibility.Visibility) instead. Since 6.4public WorklogInputParametersImpl.Builder visibility(Visibility visibility)
public WorklogInputParametersImpl.Builder newEstimate(String newEstimate)
Set the new estimate value when building a WorklogNewEstimateInputParameters object.
Note: the value you set here will be ignored if you build a WorklogInputParameters object using
build() or a WorklogAdjustmentAmountInputParameters object using buildAdjustmentAmount().
newEstimate - the new estimate valuebuildNewEstimate(),
WorklogNewEstimateInputParameterspublic WorklogInputParametersImpl.Builder adjustmentAmount(String adjustmentAmount)
Set the adjustment amount value when building a WorklogAdjustmentAmountInputParameters object.
Note: the value you set here will be ignored if you build a WorklogInputParameters object using
build() or a WorklogNewEstimateInputParameters object using buildNewEstimate().
adjustmentAmount - the adjustment amount valuebuildAdjustmentAmount(),
WorklogAdjustmentAmountInputParameterspublic WorklogInputParametersImpl.Builder editableCheckRequired(boolean editableCheckRequired)
public WorklogInputParametersImpl.Builder errorFieldPrefix(String errorFieldPrefix)
public WorklogInputParameters build()
WorklogInputParameters object.WorklogInputParameters object with the built parameters.public WorklogInputParameters buildAll()
WorklogInputParameters object and pass in every variable independent of which
adjustment option you have picked.WorklogInputParameters object with the built parameters.public WorklogNewEstimateInputParameters buildNewEstimate()
WorklogNewEstimateInputParameters object required for the "new estimate"
service calls.WorklogNewEstimateInputParameters object with the built parameters.public WorklogAdjustmentAmountInputParameters buildAdjustmentAmount()
WorklogAdjustmentAmountInputParameters object required for the
"manual adjustment" (or "adjustment amount") service calls.WorklogAdjustmentAmountInputParameters object with the built parameters.Copyright © 2002-2017 Atlassian. All Rights Reserved.