blob: 3f5fb33291e58c32cf3c651700a4c165abda0cf7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package dev.isxander.yacl3.api.controller;
import dev.isxander.yacl3.api.Option;
import dev.isxander.yacl3.impl.controller.DropdownStringControllerBuilderImpl;
import java.util.List;
public interface DropdownStringControllerBuilder extends StringControllerBuilder {
DropdownStringControllerBuilder values(List<String> values);
DropdownStringControllerBuilder values(String... values);
DropdownStringControllerBuilder allowEmptyValue(boolean allowEmptyValue);
DropdownStringControllerBuilder allowAnyValue(boolean allowAnyValue);
static DropdownStringControllerBuilder create(Option<String> option) {
return new DropdownStringControllerBuilderImpl(option);
}
}
|