Interface SelectOptionOperation
public interface SelectOptionOperation
Operation for a lightweight selection of a list of simple options.
- Since:
- 5.2.508
-
Field Summary
Modifier and TypeFieldDescriptionstatic final OperationType<SelectOptionOperation>
Operation for a lightweight selection of a list of simple options. -
Method Summary
-
Field Details
-
TYPE
Operation for a lightweight selection of a list of simple options.- Since:
- 5.2.508
-
-
Method Details
-
addOption
Configures one of the options the user should select from.- Parameters:
label
- The label of the option.value
- The value of the option.- Since:
- 5.2.508
-
perform
Performs this operation based on the previously configured settings, and returns the value of the user selection if there is any.- Returns:
- The value of the option the user has chosen, or
null
for a canceled selection. - Since:
- 5.2.508
-