public class NumberCustomFieldOperationsHandler extends AbstractCustomFieldOperationsHandler<Double>
field, i18nHelper
Constructor and Description |
---|
NumberCustomFieldOperationsHandler(CustomField field,
DoubleConverter doubleConverter,
I18nHelper i18nHelper) |
Modifier and Type | Method and Description |
---|---|
protected void |
finaliseOperation(Double finalValue,
IssueInputParameters parameters,
ErrorCollection errors)
takes the value returnd by a call to applyOperation() and puts it into the inputparams
|
protected Double |
getInitialCreateValue(IssueContext issueCtx)
compute the "currentValue" to be passed to applyOperation()
|
protected Double |
getInitialValue(Issue issue,
ErrorCollection errors)
compute the "currentValue" to be passed to applyOperation()
|
protected Double |
handleSetOperation(IssueContext issueCtx,
Issue issue,
Double currentFieldValue,
JsonData operationValue,
ErrorCollection errors) |
applyOperation, getSupportedOperations, handleAddOperation, handleRemoveOperation, updateIssueInputParameters
public NumberCustomFieldOperationsHandler(CustomField field, DoubleConverter doubleConverter, I18nHelper i18nHelper)
protected Double getInitialValue(Issue issue, ErrorCollection errors)
getInitialValue
in class AbstractCustomFieldOperationsHandler<Double>
protected Double getInitialCreateValue(IssueContext issueCtx)
getInitialCreateValue
in class AbstractCustomFieldOperationsHandler<Double>
issueCtx
- protected void finaliseOperation(Double finalValue, IssueInputParameters parameters, ErrorCollection errors)
finaliseOperation
in class AbstractCustomFieldOperationsHandler<Double>
protected Double handleSetOperation(IssueContext issueCtx, Issue issue, Double currentFieldValue, JsonData operationValue, ErrorCollection errors)
handleSetOperation
in class AbstractCustomFieldOperationsHandler<Double>
Copyright © 2002-2017 Atlassian. All Rights Reserved.