Class BooleanVariableValueArgument.Builder<C>

java.lang.Object
cloud.commandframework.arguments.CommandArgument.Builder<C,String>
rocks.gravili.notquests.paper.commands.arguments.variables.BooleanVariableValueArgument.Builder<C>
Enclosing class:
BooleanVariableValueArgument<C>

public static final class BooleanVariableValueArgument.Builder<C> extends cloud.commandframework.arguments.CommandArgument.Builder<C,String>
  • Method Details

    • asOptionalWithDefault

      public BooleanVariableValueArgument.Builder<C> asOptionalWithDefault(int defaultValue)
      Sets the command argument to be optional, with the specified default value.
      Parameters:
      defaultValue - default value
      Returns:
      this builder
      Since:
      1.5.0
      See Also:
      • CommandArgument.Builder.asOptionalWithDefault(String)
    • build

      @NotNull public BooleanVariableValueArgument<C> build()
      Overrides:
      build in class cloud.commandframework.arguments.CommandArgument.Builder<C,String>