|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.jira.bc.issue.worklog.WorklogInputParametersImpl.Builder
public static class WorklogInputParametersImpl.Builder
A fluent-style Builder for constructing WorklogInputParameters
, WorklogNewEstimateInputParameters
and
WorklogAdjustmentAmountInputParameters
objects.
Constructor Summary | |
---|---|
WorklogInputParametersImpl.Builder()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorklogInputParametersImpl.Builder()
Method Detail |
---|
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)
public WorklogInputParametersImpl.Builder groupLevel(String groupLevel)
public WorklogInputParametersImpl.Builder roleLevelId(String roleLevelId)
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 value
buildNewEstimate()
,
WorklogNewEstimateInputParameters
public 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 value
buildAdjustmentAmount()
,
WorklogAdjustmentAmountInputParameters
public 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |