public class

EnvironmentRestFieldOperationsHandler

extends AbstractFieldOperationsHandler<T>
java.lang.Object
   ↳ com.atlassian.jira.issue.fields.rest.AbstractFieldOperationsHandler<T>
     ↳ com.atlassian.jira.issue.fields.rest.EnvironmentRestFieldOperationsHandler

Class Overview

Provide edit functionality via REST for the Environment Field

Summary

[Expand]
Inherited Fields
From class com.atlassian.jira.issue.fields.rest.AbstractFieldOperationsHandler
Public Constructors
EnvironmentRestFieldOperationsHandler(I18nHelper i18nHelper)
Public Methods
Set<String> getSupportedOperations()
Protected Methods
void finaliseOperation(String finalValue, IssueInputParameters parameters, ErrorCollection errors)
takes the valuye returnd by a call to applyOperation() and puts it into the inputparams
String getInitialCreateValue()
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 fieldId, String currentFieldValue, JsonData operationValue, ErrorCollection errors)
[Expand]
Inherited Methods
From class com.atlassian.jira.issue.fields.rest.AbstractFieldOperationsHandler
From class java.lang.Object
From interface com.atlassian.jira.issue.fields.rest.RestFieldOperationsHandler

Public Constructors

public EnvironmentRestFieldOperationsHandler (I18nHelper i18nHelper)

Public Methods

public Set<String> getSupportedOperations ()

Protected Methods

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

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

protected String getInitialCreateValue ()

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 fieldId, String currentFieldValue, JsonData operationValue, ErrorCollection errors)