## Uses of Class
org.wildfly.swarm.cli.Option

- Packages that use Option
  Package | Description
  --- | ---
  org.wildfly.swarm.cli |

- - ### Uses of Option in org.wildfly.swarm.cli

    Fields in org.wildfly.swarm.cli declared as Option
    Modifier and Type | Field and Description
    --- | ---
    `static Option<String>` | CommandLine.`BIND` Default option for parsing -b
    `static Option<List<URL>>` | CommandLine.`CONFIG`
    `static Option<String>` | CommandLine.`CONFIG_HELP`
    `static Option<Boolean>` | CommandLine.`HELP` Default option for parsing -h and --help
    `static Option<List<String>>` | CommandLine.`PROFILES`
    `static Option<URL>` | CommandLine.`PROPERTIES_URL` Default option for parsing -P
    `static Option<Properties>` | CommandLine.`PROPERTY` Default option for parsing -Dname and -Dname=value
    `static Option<URL>` | CommandLine.`SERVER_CONFIG` Default option for parsing -c and --server-config
    `static Option<Boolean>` | CommandLine.`VERSION` Default option for parsing -v and --version
    `static Option<String>` | CommandLine.`YAML_HELP`

    Methods in org.wildfly.swarm.cli that return Option
    Modifier and Type | Method and Description
    --- | ---
    `Option<T>` | Option.`hasValue(String valueDescription)` Specify that this option takes an argument value.
    `Option<T>` | Option.`then(Option.Action<T> action)` Associate an action with this option.
    `Option<T>` | Option.`valueMayBeSeparate(boolean valueMayBeSeparate)` Indicate if the value to the option may be separated by whitespace.
    `Option<T>` | Option.`withDefault(Supplier<T> supplier)` Specify a default value supplier for this option.
    `Option<T>` | Option.`withDescription(String description)` Set a human-readable description of this option.
    `Option<T>` | Option.`withLong(String longArg)` Specify a long (double-dash) variant.
    `Option<T>` | Option.`withShort(Character shortArg)` Specify a short (single-dash) variant.

    Methods in org.wildfly.swarm.cli with parameters of type Option
    Modifier and Type | Method and Description
    --- | ---
    `<T> T` | CommandLine.`get(Option<T> key)` Retrieve a value under a given key.
    `<T> void` | CommandLine.`put(Option<T> key, T value)` Put a value under a given key.
    `void` | Option.Action.`set(CommandLine commandLine, Option<T> option, String value)` Perform some action, being passed the value and the `CommandLine`.
    `Options` | Options.`withOption(Option option)` Fluent method to add more options.

    Constructors in org.wildfly.swarm.cli with parameters of type Option
    Constructor and Description
    `Options(Option... options)` Construct.

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