Class PriorityRestFieldOperationsHandler
java.lang.Object
com.atlassian.jira.issue.fields.rest.AbstractFieldOperationsHandler<String>
com.atlassian.jira.issue.fields.rest.PriorityRestFieldOperationsHandler
- All Implemented Interfaces:
- RestFieldOperationsHandler
- Since:
- v5.0
- 
Field SummaryFields inherited from class com.atlassian.jira.issue.fields.rest.AbstractFieldOperationsHandleri18nHelper
- 
Constructor SummaryConstructorsConstructorDescriptionPriorityRestFieldOperationsHandler(ConstantsManager constantsManager, I18nHelper i18nHelper) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidfinaliseOperation(String finalValue, IssueInputParameters parameters, ErrorCollection errors) takes the valuye returnd by a call to applyOperation() and puts it into the inputparamsprotected Stringcompute 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 fieldId, String currentFieldValue, JsonData operationValue, ErrorCollection errors) Methods inherited from class com.atlassian.jira.issue.fields.rest.AbstractFieldOperationsHandlerapplyOperation, handleAddOperation, handleRemoveOperation, toLongIds, updateIssueInputParameters
- 
Constructor Details- 
PriorityRestFieldOperationsHandler
 
- 
- 
Method Details- 
getSupportedOperationsDescription copied from interface:RestFieldOperationsHandlerReturns a list of operation names which are supported by this field.- Returns:
- a set of supported Operations
 
- 
getInitialCreateValueDescription copied from class:AbstractFieldOperationsHandlercompute the "currentValue" to be passed to applyOperation()- Specified by:
- getInitialCreateValuein class- AbstractFieldOperationsHandler<String>
 
- 
getInitialValueDescription copied from class:AbstractFieldOperationsHandlercompute the "currentValue" to be passed to applyOperation()- Specified by:
- getInitialValuein class- AbstractFieldOperationsHandler<String>
 
- 
finaliseOperationprotected void finaliseOperation(String finalValue, IssueInputParameters parameters, ErrorCollection errors) Description copied from class:AbstractFieldOperationsHandlertakes the valuye returnd by a call to applyOperation() and puts it into the inputparams- Specified by:
- finaliseOperationin class- AbstractFieldOperationsHandler<String>
 
- 
handleSetOperationprotected String handleSetOperation(IssueContext issueCtx, Issue issue, String fieldId, String currentFieldValue, JsonData operationValue, ErrorCollection errors) - Overrides:
- handleSetOperationin class- AbstractFieldOperationsHandler<String>
 
 
-