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