Class WrappedArgumentParser<T>

java.lang.Object
net.apartium.cocoabeans.commands.parsers.ArgumentParser<T>
net.apartium.cocoabeans.commands.parsers.WrappedArgumentParser<T>
Type Parameters:
T -
All Implemented Interfaces:
Comparable<ArgumentParser<?>>

@AvailableSince("0.0.38") public class WrappedArgumentParser<T> extends ArgumentParser<T>
  • Constructor Details

    • WrappedArgumentParser

      public WrappedArgumentParser(ArgumentParser<T> parser, int priority, String keyword)
      Wrapped argument parser constructor
      Parameters:
      parser - the argument parser to wrap
      priority - parser priority
      keyword - new keyword for the parser
    • WrappedArgumentParser

      public WrappedArgumentParser(ArgumentParser<T> parser, String keyword)
      Wrapped argument parser constructor
      Parameters:
      parser - the argument parser to wrap
      keyword - new keyword for the parser
    • WrappedArgumentParser

      public WrappedArgumentParser(ArgumentParser<T> parser, int priority)
      Wrapped argument parser constructor
      Parameters:
      parser - the argument parser to wrap
      priority - parser priority
  • Method Details