Class CommandLineOption

java.lang.Object
ru.akman.maven.plugins.CommandLineOption

public class CommandLineOption extends Object
Command line option (group of arguments).
  • Constructor Summary

    Constructors
    Constructor
    Description
    CommandLineOption(org.codehaus.plexus.util.cli.Commandline cmdLine)
    Create an option.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.codehaus.plexus.util.cli.Arg
    Create argument as part of the option.
    Create the option string representation as arguments joined with space.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CommandLineOption

      public CommandLineOption(org.codehaus.plexus.util.cli.Commandline cmdLine)
      Create an option.
      Parameters:
      cmdLine - command line
  • Method Details

    • createArg

      public org.codehaus.plexus.util.cli.Arg createArg()
      Create argument as part of the option.
      Returns:
      the created argument
    • toString

      public String toString()
      Create the option string representation as arguments joined with space.
      Overrides:
      toString in class Object
      Returns:
      the created string representation