/** * Sets AdjustEstimate to LEAVE - leaves estimate as is. * * @return this worklog input builder object */ public WorklogInputBuilder setAdjustEstimateLeave() { return setAdjustEstimate(WorklogInput.AdjustEstimate.LEAVE, null); }
/** * Sets AdjustEstimate to MANUAL - reduces remaining estimate by given value. * * @param reduceEstimateByMinutes the amount to reduce the remaining estimate by, in minutes. * @return this worklog input builder object */ public WorklogInputBuilder setAdjustEstimateManual(int reduceEstimateByMinutes) { return setAdjustEstimate(WorklogInput.AdjustEstimate.MANUAL, reduceEstimateByMinutes + ESTIMATE_UNIT_MINUTES); }
/** * Sets AdjustEstimate to NEW - sets estimate to specified value. * * @param newEstimate new estimate value to set.<br> * You can specify a time unit after a time value 'X', such as Xw, Xd, Xh or Xm, * to represent weeks (w), days (d), hours (h) and minutes (m), respectively.<br> * If you do not specify a time unit, minute will be assumed. * @return this worklog input builder object */ public WorklogInputBuilder setAdjustEstimateNew(String newEstimate) { return setAdjustEstimate(WorklogInput.AdjustEstimate.NEW, newEstimate); }
/** * Sets AdjustEstimate to NEW - sets estimate to specified value. * * @param newEstimateMinutes new estimate value to set, in minutes. * @return this worklog input builder object */ public WorklogInputBuilder setAdjustEstimateNew(int newEstimateMinutes) { return setAdjustEstimate(WorklogInput.AdjustEstimate.NEW, newEstimateMinutes + ESTIMATE_UNIT_MINUTES); }
/** * Sets AdjustEstimate to MANUAL - reduces remaining estimate by given value. * * @param reduceEstimateBy the amount to reduce the remaining estimate by<br> * You can specify a time unit after a time value 'X', such as Xw, Xd, Xh or Xm, * to represent weeks (w), days (d), hours (h) and minutes (m), respectively.<br> * If you do not specify a time unit, minute will be assumed. * @return this worklog input builder object */ public WorklogInputBuilder setAdjustEstimateManual(String reduceEstimateBy) { return setAdjustEstimate(WorklogInput.AdjustEstimate.MANUAL, reduceEstimateBy); }
/** * Sets AdjustEstimate to NEW - sets estimate to specified value. * * @param newEstimate new estimate value to set.<br> * You can specify a time unit after a time value 'X', such as Xw, Xd, Xh or Xm, * to represent weeks (w), days (d), hours (h) and minutes (m), respectively.<br> * If you do not specify a time unit, minute will be assumed. * @return this worklog input builder object */ public WorklogInputBuilder setAdjustEstimateNew(String newEstimate) { return setAdjustEstimate(WorklogInput.AdjustEstimate.NEW, newEstimate); }
/** * Sets AdjustEstimate to MANUAL - reduces remaining estimate by given value. * * @param reduceEstimateBy the amount to reduce the remaining estimate by<br> * You can specify a time unit after a time value 'X', such as Xw, Xd, Xh or Xm, * to represent weeks (w), days (d), hours (h) and minutes (m), respectively.<br> * If you do not specify a time unit, minute will be assumed. * @return this worklog input builder object */ public WorklogInputBuilder setAdjustEstimateManual(String reduceEstimateBy) { return setAdjustEstimate(WorklogInput.AdjustEstimate.MANUAL, reduceEstimateBy); }
/** * Sets AdjustEstimate to AUTO - will automatically adjust the value * based on the minutes spend specified on the worklog input. * <p> * This is the default option. * * @return this worklog input builder object */ @SuppressWarnings("UnusedDeclaration") public WorklogInputBuilder setAdjustEstimateAuto() { return setAdjustEstimate(WorklogInput.AdjustEstimate.AUTO, null); }
/** * Sets AdjustEstimate to LEAVE - leaves estimate as is. * * @return this worklog input builder object */ public WorklogInputBuilder setAdjustEstimateLeave() { return setAdjustEstimate(WorklogInput.AdjustEstimate.LEAVE, null); }
/** * Sets AdjustEstimate to NEW - sets estimate to specified value. * * @param newEstimateMinutes new estimate value to set, in minutes. * @return this worklog input builder object */ public WorklogInputBuilder setAdjustEstimateNew(int newEstimateMinutes) { return setAdjustEstimate(WorklogInput.AdjustEstimate.NEW, newEstimateMinutes + ESTIMATE_UNIT_MINUTES); }
/** * Sets AdjustEstimate to MANUAL - reduces remaining estimate by given value. * * @param reduceEstimateByMinutes the amount to reduce the remaining estimate by, in minutes. * @return this worklog input builder object */ public WorklogInputBuilder setAdjustEstimateManual(int reduceEstimateByMinutes) { return setAdjustEstimate(WorklogInput.AdjustEstimate.MANUAL, reduceEstimateByMinutes + ESTIMATE_UNIT_MINUTES); }
/** * Sets AdjustEstimate to AUTO - will automatically adjust the value * based on the minutes spend specified on the worklog input.<br> * This is the default option. * * @return this worklog input builder object */ @SuppressWarnings("UnusedDeclaration") public WorklogInputBuilder setAdjustEstimateAuto() { return setAdjustEstimate(WorklogInput.AdjustEstimate.AUTO, null); }