Class AffectedVersionsRestFieldOperationsHandler
java.lang.Object
com.atlassian.jira.issue.fields.rest.AbstractFieldOperationsHandler<Collection<String>>
com.atlassian.jira.issue.fields.rest.AbstractVersionsRestFieldOperationsHandler
com.atlassian.jira.issue.fields.rest.AffectedVersionsRestFieldOperationsHandler
- All Implemented Interfaces:
RestFieldOperationsHandler
public class AffectedVersionsRestFieldOperationsHandler
extends AbstractVersionsRestFieldOperationsHandler
- Since:
- v5.0
-
Field Summary
Fields inherited from class com.atlassian.jira.issue.fields.rest.AbstractFieldOperationsHandler
i18nHelper
-
Constructor Summary
ConstructorsConstructorDescriptionAffectedVersionsRestFieldOperationsHandler
(VersionManager versionManager, I18nHelper i18nHelper) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
finaliseOperation
(Collection<String> finalValue, IssueInputParameters parameters, ErrorCollection errors) takes the valuye returnd by a call to applyOperation() and puts it into the inputparamsprotected String
getInitialValue
(Issue issue, ErrorCollection errors) compute the "currentValue" to be passed to applyOperation()Methods inherited from class com.atlassian.jira.issue.fields.rest.AbstractVersionsRestFieldOperationsHandler
getInitialCreateValue, getSupportedOperations, handleAddOperation, handleRemoveOperation, handleSetOperation, toVersionIds
Methods inherited from class com.atlassian.jira.issue.fields.rest.AbstractFieldOperationsHandler
applyOperation, toLongIds, updateIssueInputParameters
-
Constructor Details
-
AffectedVersionsRestFieldOperationsHandler
public AffectedVersionsRestFieldOperationsHandler(VersionManager versionManager, I18nHelper i18nHelper)
-
-
Method Details
-
getFieldName
- Specified by:
getFieldName
in classAbstractVersionsRestFieldOperationsHandler
-
getInitialValue
Description copied from class:AbstractFieldOperationsHandler
compute the "currentValue" to be passed to applyOperation()- Specified by:
getInitialValue
in classAbstractFieldOperationsHandler<Collection<String>>
-
finaliseOperation
protected void finaliseOperation(Collection<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 classAbstractFieldOperationsHandler<Collection<String>>
-