aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/dev/isxander/yacl3/api/controller/BooleanControllerBuilder.java
blob: 88f9a770c4437d99a3231b4147d6e8409a1e43f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package dev.isxander.yacl3.api.controller;

import dev.isxander.yacl3.api.Option;
import dev.isxander.yacl3.impl.controller.BooleanControllerBuilderImpl;

public interface BooleanControllerBuilder extends ValueFormattableController<Boolean, BooleanControllerBuilder> {
    BooleanControllerBuilder coloured(boolean coloured);

    BooleanControllerBuilder onOffFormatter();
    BooleanControllerBuilder yesNoFormatter();
    BooleanControllerBuilder trueFalseFormatter();

    static BooleanControllerBuilder create(Option<Boolean> option) {
        return new BooleanControllerBuilderImpl(option);
    }
}