BooleanOption

constructor(@NonNull name: String, def: Boolean)

Create a new BooleanOption.

Parameters

name

the name of this option

def

default value


constructor(@NonNull name: String, def: Boolean, @NonNull customTrue: String, @NonNull customFalse: String)

Create a new BooleanOption.

Parameters

name

the name of this option

def

default value

customTrue

the value instead of "true" to display when this option is selected

customFalse

the value instead of "false" to display when this option is selected