@Internal public class

TextCustomFieldOperationsHandler

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

@Internal

This class is an internal implementation detail and will change without notice.

Clients that depend on @Internal classes and interfaces can not expect to be compatible with any version other than the version they were compiled against (even minor version and milestone releases may break binary compatibility with respect to @Internal elements).

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
TextCustomFieldOperationsHandler(CustomField field, I18nHelper i18nHelper)
Constructor.
TextCustomFieldOperationsHandler(CustomField field)
Constructor.
Protected Methods
void finaliseOperation(String finalValue, IssueInputParameters parameters, ErrorCollection errors)
takes the value returnd by a call to applyOperation() and puts it into the inputparams
String getInitialCreateValue(IssueContext issueCtx)
compute the "currentValue" to be passed to applyOperation()
String getInitialValue(Issue issue, ErrorCollection errors)
compute the "currentValue" to be passed to applyOperation()
String handleSetOperation(IssueContext issueCtx, Issue issue, String 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 TextCustomFieldOperationsHandler (CustomField field, I18nHelper i18nHelper)

Constructor.

Parameters
field Field the handler is for.
i18nHelper I18nHelper

public TextCustomFieldOperationsHandler (CustomField field)

Constructor.

Parameters
field Field the handler is for.

Protected Methods

protected void finaliseOperation (String finalValue, IssueInputParameters parameters, ErrorCollection errors)

takes the value returnd by a call to applyOperation() and puts it into the inputparams

protected String getInitialCreateValue (IssueContext issueCtx)

compute the "currentValue" to be passed to applyOperation()

protected String getInitialValue (Issue issue, ErrorCollection errors)

compute the "currentValue" to be passed to applyOperation()

protected String handleSetOperation (IssueContext issueCtx, Issue issue, String currentFieldValue, JsonData operationValue, ErrorCollection errors)