Interface ArgsParserMixin<B extends ArgsParserMixin<B>>

All Known Subinterfaces:
ArgsParser
All Known Implementing Classes:
ArgsParserImpl

public interface ArgsParserMixin<B extends ArgsParserMixin<B>>
This mixin provides builder additions (as of the builder pattern for chained configuring method calls) for parsing command line arguments.
  • Method Summary

    Modifier and Type
    Method
    Description
    Evaluates the provided command line arguments.
    default B
    Evaluates the provided command line arguments .
  • Method Details

    • withEvalArgs

      B withEvalArgs(String[] aArgs) throws ArgsSyntaxException
      Evaluates the provided command line arguments.
      Parameters:
      aArgs - The command line arguments to be evaluated.
      Returns:
      This instance as of the builder pattern to chain further method calls.
      Throws:
      ArgsSyntaxException - thrown in case of a command line arguments mismatch regarding provided and expected args.
    • withEvalArgs

      default B withEvalArgs(List<String> aArgs) throws ArgsSyntaxException
      Evaluates the provided command line arguments .
      Parameters:
      aArgs - The command line arguments to be evaluated.
      Returns:
      This instance as of the builder pattern to chain further method calls.
      Throws:
      ArgsSyntaxException - thrown in case of a command line arguments mismatch regarding provided and expected args.