@Internal public class TextCustomFieldOperationsHandler extends AbstractCustomFieldOperationsHandler<String>
field, i18nHelper
Constructor and Description |
---|
TextCustomFieldOperationsHandler(CustomField field)
Deprecated.
@since 5.0-RC2 Use the constructor
TextCustomFieldOperationsHandler(CustomField field, I18nHelper i18nHelper) |
TextCustomFieldOperationsHandler(CustomField field,
I18nHelper i18nHelper)
Constructor.
|
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()
|
protected String |
handleSetOperation(IssueContext issueCtx,
Issue issue,
String currentFieldValue,
JsonData operationValue,
ErrorCollection errors) |
applyOperation, getSupportedOperations, handleAddOperation, handleRemoveOperation, updateIssueInputParameters
public TextCustomFieldOperationsHandler(CustomField field, I18nHelper i18nHelper)
field
- Field the handler is for.i18nHelper
- I18nHelperpublic TextCustomFieldOperationsHandler(CustomField field)
TextCustomFieldOperationsHandler(CustomField field, I18nHelper i18nHelper)
field
- Field the handler is for.protected String getInitialValue(Issue issue, ErrorCollection errors)
getInitialValue
in class AbstractCustomFieldOperationsHandler<String>
protected String getInitialCreateValue(IssueContext issueCtx)
getInitialCreateValue
in class AbstractCustomFieldOperationsHandler<String>
issueCtx
- protected String handleSetOperation(IssueContext issueCtx, Issue issue, String currentFieldValue, JsonData operationValue, ErrorCollection errors)
handleSetOperation
in class AbstractCustomFieldOperationsHandler<String>
protected void finaliseOperation(String finalValue, IssueInputParameters parameters, ErrorCollection errors)
finaliseOperation
in class AbstractCustomFieldOperationsHandler<String>
Copyright © 2002-2019 Atlassian. All Rights Reserved.