Package com.atlassian.jira.bulkedit
Interface BulkEditMultiSelectFieldOption
- All Known Implementing Classes:
AbstractBulkEditMultiSelectFieldOption
,AbstractBulkEditTextFieldOption
,BulkEditMultiSelectFieldOptionAdd
,BulkEditMultiSelectFieldOptionRemove
,BulkEditMultiSelectFieldOptionRemoveAll
,BulkEditMultiSelectFieldOptionReplace
,BulkEditTextFieldOptionAddAfter
,BulkEditTextFieldOptionAddBefore
,BulkEditTextFieldOptionReplace
@ExperimentalApi
public interface BulkEditMultiSelectFieldOption
Represents the change modes for the system fields to be used in the Bulk Edit Wizard and operation.
These are no longer constrained to just multi-select fields and this class can be renamed if the API can be broken.
- Since:
- v6.4
-
Method Summary
Modifier and TypeMethodDescriptionReturns the i18n key for the description of the change mode optiongetFieldValuesMap
(Issue issue, OrderableField field, Map<String, Object> fieldValuesHolder) Returns the Collection representing the result of the Bulk Edit operation for the optiongetFieldValuesToAdd
(OrderableField field, Map<String, Object> fieldValuesHolder) Returns String representing new Components/Versions field values for Project which will be added during bulk operationgetId()
Returns the id of the change mode optionReturns the i18n key for the name of the change mode optionboolean
validateOperation
(OrderableField field, Map<String, Object> fieldValuesHolder) Returns true if the requirement for minimum number of elements for option is fulfilled
-
Method Details
-
getId
String getId()Returns the id of the change mode option -
getNameI18nKey
String getNameI18nKey()Returns the i18n key for the name of the change mode option -
getDescriptionI18nKey
String getDescriptionI18nKey()Returns the i18n key for the description of the change mode option -
getFieldValuesMap
Map<String,Object> getFieldValuesMap(Issue issue, OrderableField field, Map<String, Object> fieldValuesHolder) Returns the Collection representing the result of the Bulk Edit operation for the option- Parameters:
issue
-field
-fieldValuesHolder
-- Returns:
- Collection representing the result of the Bulk Edit operation for the option
-
validateOperation
Returns true if the requirement for minimum number of elements for option is fulfilled- Parameters:
field
-fieldValuesHolder
-- Returns:
- true if the requirement for minimum number of elements for option is fulfilled
-
getFieldValuesToAdd
Returns String representing new Components/Versions field values for Project which will be added during bulk operation- Parameters:
field
-fieldValuesHolder
-- Returns:
- String representing new Components/Versions field values for Project which will be added during bulk operation
-