public class SingleVersionCustomFieldOperationsHandler extends AbstractFieldOperationsHandler<String>
i18nHelper
Constructor and Description |
---|
SingleVersionCustomFieldOperationsHandler(CustomField field,
VersionManager versionManager,
I18nHelper i18nHelper) |
Modifier and Type | Method and Description |
---|---|
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()
|
Set<String> |
getSupportedOperations()
Returns a list of operation names which are supported by this field.
|
protected String |
handleSetOperation(IssueContext issueCtx,
Issue issue,
String fieldId,
String currentFieldValue,
JsonData operationValue,
ErrorCollection errors) |
applyOperation, handleAddOperation, handleRemoveOperation, toLongIds, updateIssueInputParameters
public SingleVersionCustomFieldOperationsHandler(CustomField field, VersionManager versionManager, I18nHelper i18nHelper)
public Set<String> getSupportedOperations()
RestFieldOperationsHandler
protected String handleSetOperation(IssueContext issueCtx, Issue issue, String fieldId, String currentFieldValue, JsonData operationValue, ErrorCollection errors)
handleSetOperation
in class AbstractFieldOperationsHandler<String>
protected String getInitialCreateValue()
AbstractFieldOperationsHandler
getInitialCreateValue
in class AbstractFieldOperationsHandler<String>
protected String getInitialValue(Issue issue, ErrorCollection errors)
AbstractFieldOperationsHandler
getInitialValue
in class AbstractFieldOperationsHandler<String>
protected void finaliseOperation(String finalValue, IssueInputParameters parameters, ErrorCollection errors)
AbstractFieldOperationsHandler
finaliseOperation
in class AbstractFieldOperationsHandler<String>
Copyright © 2002-2017 Atlassian. All Rights Reserved.