public class

NumberCustomFieldOperationsHandler

extends AbstractCustomFieldOperationsHandler<T>
java.lang.Object
   ↳ com.atlassian.jira.issue.customfields.impl.rest.AbstractCustomFieldOperationsHandler<T>
     ↳ com.atlassian.jira.issue.customfields.impl.rest.NumberCustomFieldOperationsHandler

Class Overview

Basic operation handler for single value Text Fields.

Summary

[Expand]
Inherited Fields
From class com.atlassian.jira.issue.customfields.impl.rest.AbstractCustomFieldOperationsHandler
Public Constructors
NumberCustomFieldOperationsHandler(CustomField field, DoubleConverter doubleConverter, I18nHelper i18nHelper)
Protected Methods
void finaliseOperation(Double finalValue, IssueInputParameters parameters, ErrorCollection errors)
takes the value returnd by a call to applyOperation() and puts it into the inputparams
Double getInitialCreateValue(IssueContext issueCtx)
compute the "currentValue" to be passed to applyOperation()
Double getInitialValue(Issue issue, ErrorCollection errors)
compute the "currentValue" to be passed to applyOperation()
Double handleSetOperation(IssueContext issueCtx, Issue issue, Double currentFieldValue, JsonData operationValue, ErrorCollection errors)
[Expand]
Inherited Methods
From class com.atlassian.jira.issue.customfields.impl.rest.AbstractCustomFieldOperationsHandler
From class java.lang.Object
From interface com.atlassian.jira.issue.fields.rest.RestFieldOperationsHandler

Public Constructors

public NumberCustomFieldOperationsHandler (CustomField field, DoubleConverter doubleConverter, I18nHelper i18nHelper)

Protected Methods

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)