com.atlassian.jira.issue.fields.rest
Class EnvironmentRestFieldOperationsHandler
java.lang.Object
com.atlassian.jira.issue.fields.rest.AbstractFieldOperationsHandler<String>
com.atlassian.jira.issue.fields.rest.EnvironmentRestFieldOperationsHandler
- All Implemented Interfaces:
- RestFieldOperationsHandler
public class EnvironmentRestFieldOperationsHandler
- extends AbstractFieldOperationsHandler<String>
Provide edit functionality via REST for the Environment Field
- Since:
- v5.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnvironmentRestFieldOperationsHandler
public EnvironmentRestFieldOperationsHandler(I18nHelper i18nHelper)
getSupportedOperations
public Set<String> getSupportedOperations()
- Description copied from interface:
RestFieldOperationsHandler
- Returns a list of operation names which are supported by this field.
- Returns:
- a set of supported Operations
getInitialCreateValue
protected String getInitialCreateValue()
- Description copied from class:
AbstractFieldOperationsHandler
- compute the "currentValue" to be passed to applyOperation()
- Specified by:
getInitialCreateValue
in class AbstractFieldOperationsHandler<String>
getInitialValue
protected String getInitialValue(Issue issue,
ErrorCollection errors)
- Description copied from class:
AbstractFieldOperationsHandler
- compute the "currentValue" to be passed to applyOperation()
- Specified by:
getInitialValue
in class AbstractFieldOperationsHandler<String>
finaliseOperation
protected void finaliseOperation(String finalValue,
IssueInputParameters parameters,
ErrorCollection errors)
- Description copied from class:
AbstractFieldOperationsHandler
- takes the valuye returnd by a call to applyOperation() and puts it into the inputparams
- Specified by:
finaliseOperation
in class AbstractFieldOperationsHandler<String>
handleSetOperation
protected String handleSetOperation(IssueContext issueCtx,
Issue issue,
String fieldId,
String currentFieldValue,
JsonData operationValue,
ErrorCollection errors)
- Overrides:
handleSetOperation
in class AbstractFieldOperationsHandler<String>
Copyright © 2002-2012 Atlassian. All Rights Reserved.