org.wildfly.swarm.cli

## Class Options

- java.lang.Object
- - org.wildfly.swarm.cli.Options

-     public class Options
      extends Object

  Options for command-line parsing. Options are matched in the order in which they are added.
  Author:
    Bob McWhirter

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Options(Option... options)` Construct.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `displayHelp(PrintStream out)` Display the help to the specified output stream.
    `Options` | `withOption(Option option)` Fluent method to add more options.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Options

          public Options(Option... options)

      Construct.
      Parameters:
        `options` - Zero or more options use initially.

  - ### Method Detail

    - #### withOption

          public Options withOption(Option option)

      Fluent method to add more options.
      Parameters:
        `option` - The option to add.
      Returns:
        This options object.

    - #### displayHelp

          public void displayHelp(PrintStream out)

      Display the help to the specified output stream.
      Parameters:
        `out` - The output stream.

Copyright © 2017 JBoss by Red Hat. All rights reserved.