Class CommonsCliShellOptions

java.lang.Object
org.apache.maven.cling.invoker.CommonsCliOptions
org.apache.maven.cling.invoker.mvnsh.CommonsCliShellOptions
All Implemented Interfaces:
ShellOptions, Options

public class CommonsCliShellOptions extends CommonsCliOptions implements ShellOptions
Implementation of ShellOptions (base + shell).
  • Constructor Details

  • Method Details

    • parse

      public static CommonsCliShellOptions parse(String[] args) throws org.apache.commons.cli.ParseException
      Throws:
      org.apache.commons.cli.ParseException
    • interpolate

      public ShellOptions interpolate(UnaryOperator<String> callback)
      Description copied from interface: ShellOptions
      Returns a new instance of ShellOptions with values interpolated using the given properties.
      Specified by:
      interpolate in interface Options
      Specified by:
      interpolate in interface ShellOptions
      Parameters:
      callback - a callback to use for interpolation
      Returns:
      a new EncryptOptions instance with interpolated values