public class GroupCustomFieldOperationsHandler extends AbstractCustomFieldOperationsHandler<Collection<String>>
field, i18nHelper
Constructor and Description |
---|
GroupCustomFieldOperationsHandler(CustomField field,
I18nHelper i18nHelper) |
Modifier and Type | Method and Description |
---|---|
protected void |
finaliseOperation(Collection<String> finalValue,
IssueInputParameters parameters,
ErrorCollection errors)
takes the value returnd by a call to applyOperation() and puts it into the inputparams
|
protected List<String> |
getInitialCreateValue(IssueContext issueCtx)
compute the "currentValue" to be passed to applyOperation()
|
protected List<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 Collection<String> |
handleSetOperation(IssueContext issueCtx,
Issue issue,
Collection<String> currentFieldValue,
JsonData operationValue,
ErrorCollection errors) |
applyOperation, handleAddOperation, handleRemoveOperation, updateIssueInputParameters
public GroupCustomFieldOperationsHandler(CustomField field, I18nHelper i18nHelper)
public Set<String> getSupportedOperations()
RestFieldOperationsHandler
getSupportedOperations
in interface RestFieldOperationsHandler
getSupportedOperations
in class AbstractCustomFieldOperationsHandler<Collection<String>>
protected Collection<String> handleSetOperation(IssueContext issueCtx, Issue issue, Collection<String> currentFieldValue, JsonData operationValue, ErrorCollection errors)
handleSetOperation
in class AbstractCustomFieldOperationsHandler<Collection<String>>
protected List<String> getInitialCreateValue(IssueContext issueCtx)
AbstractCustomFieldOperationsHandler
getInitialCreateValue
in class AbstractCustomFieldOperationsHandler<Collection<String>>
protected List<String> getInitialValue(Issue issue, ErrorCollection errors)
AbstractCustomFieldOperationsHandler
getInitialValue
in class AbstractCustomFieldOperationsHandler<Collection<String>>
protected void finaliseOperation(Collection<String> finalValue, IssueInputParameters parameters, ErrorCollection errors)
AbstractCustomFieldOperationsHandler
finaliseOperation
in class AbstractCustomFieldOperationsHandler<Collection<String>>
Copyright © 2002-2024 Atlassian. All Rights Reserved.