Class UserCustomFieldOperationsHandler
java.lang.Object
com.atlassian.jira.issue.customfields.impl.rest.AbstractCustomFieldOperationsHandler<String>
com.atlassian.jira.issue.customfields.impl.rest.UserCustomFieldOperationsHandler
- All Implemented Interfaces:
RestFieldOperationsHandler
- Since:
- v5.0
-
Field Summary
Fields inherited from class com.atlassian.jira.issue.customfields.impl.rest.AbstractCustomFieldOperationsHandler
field, i18nHelper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfinaliseOperation(String finalValue, IssueInputParameters parameters, ErrorCollection errors) takes the value returnd by a call to applyOperation() and puts it into the inputparamsprotected StringgetInitialCreateValue(IssueContext issueCtx) compute the "currentValue" to be passed to applyOperation()protected StringgetInitialValue(Issue issue, ErrorCollection errors) compute the "currentValue" to be passed to applyOperation()Returns a list of operation names which are supported by this field.protected StringhandleSetOperation(IssueContext issueCtx, Issue issue, String currentFieldValue, JsonData operationValue, ErrorCollection errors) Methods inherited from class com.atlassian.jira.issue.customfields.impl.rest.AbstractCustomFieldOperationsHandler
applyOperation, handleAddOperation, handleRemoveOperation, updateIssueInputParameters
-
Constructor Details
-
UserCustomFieldOperationsHandler
-
-
Method Details
-
getSupportedOperations
Description copied from interface:RestFieldOperationsHandlerReturns a list of operation names which are supported by this field.- Specified by:
getSupportedOperationsin interfaceRestFieldOperationsHandler- Overrides:
getSupportedOperationsin classAbstractCustomFieldOperationsHandler<String>- Returns:
- a set of supported Operations
-
handleSetOperation
protected String handleSetOperation(IssueContext issueCtx, Issue issue, String currentFieldValue, JsonData operationValue, ErrorCollection errors) - Overrides:
handleSetOperationin classAbstractCustomFieldOperationsHandler<String>
-
getInitialValue
compute the "currentValue" to be passed to applyOperation()- Specified by:
getInitialValuein classAbstractCustomFieldOperationsHandler<String>
-
getInitialCreateValue
compute the "currentValue" to be passed to applyOperation()- Specified by:
getInitialCreateValuein classAbstractCustomFieldOperationsHandler<String>- Parameters:
issueCtx- IssueContext
-
finaliseOperation
protected void finaliseOperation(String finalValue, IssueInputParameters parameters, ErrorCollection errors) Description copied from class:AbstractCustomFieldOperationsHandlertakes the value returnd by a call to applyOperation() and puts it into the inputparams- Specified by:
finaliseOperationin classAbstractCustomFieldOperationsHandler<String>
-