Class BooleanParser

java.lang.Object
net.apartium.cocoabeans.commands.parsers.ArgumentParser<Boolean>
net.apartium.cocoabeans.commands.parsers.BooleanParser
All Implemented Interfaces:
Comparable<ArgumentParser<?>>

public class BooleanParser extends ArgumentParser<Boolean>
  • Field Details

  • Constructor Details

    • BooleanParser

      public BooleanParser(int priority)
      Creates a new boolean parser
      Parameters:
      priority - parser priority of which should be higher than others or lower
    • BooleanParser

      @AvailableSince("0.0.36") public BooleanParser(int priority, String keyword)
      Creates a new boolean parser
      Parameters:
      priority - parser priority of which should be higher than others or lower
      keyword - parser keyword
    • BooleanParser

      public BooleanParser(int priority, String keyword, @NotNull @NotNull Set<String> trueSet, @NotNull @NotNull Set<String> falseSet)
  • Method Details