Package | Description |
---|---|
com.headius.options |
Modifier and Type | Class and Description |
---|---|
class |
BooleanOption
A Boolean-based Option.
|
class |
EnumerationOption<T extends Enum<T>>
An Enum-based Option.
|
class |
IntegerOption
An Integer-based Option.
|
class |
StringOption
A String-based Option.
|
Modifier and Type | Method and Description |
---|---|
static Option<Boolean> |
Option.bool(String longName,
Enum category,
Boolean defval,
String description)
Create a new Boolean option with the given configuration.
|
static Option<Boolean> |
Option.bool(String longName,
Enum category,
String description)
Create a new Boolean option with the given configuration.
|
static Option<Boolean> |
Option.bool(String prefix,
String name,
Enum category,
Boolean defval,
String description)
Create a new Boolean option with the given configuration.
|
static Option<Boolean> |
Option.bool(String prefix,
String name,
Enum category,
String description)
Create a new Boolean option with the given configuration.
|
static <T extends Enum<T>> |
Option.enumeration(String longName,
Enum category,
Class<T> enumClass,
String description)
Create a new Enumeration-based option with the given configuration.
|
static <T extends Enum<T>> |
Option.enumeration(String longName,
Enum category,
T defval,
String description)
Create a new Enumeration-based option with the given configuration.
|
static <T extends Enum<T>> |
Option.enumeration(String prefix,
String name,
Enum category,
Class<T> enumClass,
String description)
Create a new Enumeration-based option with the given configuration.
|
static <T extends Enum<T>> |
Option.enumeration(String prefix,
String name,
Enum category,
T defval,
String description)
Create a new Enumeration-based option with the given configuration.
|
static Option<Integer> |
Option.integer(String longName,
Enum category,
Integer[] options,
Integer defval,
String description)
Create a new Integer option with the given configuration.
|
static Option<Integer> |
Option.integer(String longName,
Enum category,
Integer[] options,
String description)
Create a new Integer option with the given configuration.
|
static Option<Integer> |
Option.integer(String longName,
Enum category,
Integer defval,
String description)
Create a new Integer option with the given configuration.
|
static Option<Integer> |
Option.integer(String longName,
Enum category,
String description)
Create a new Integer option with the given configuration.
|
static Option<Integer> |
Option.integer(String prefix,
String name,
Enum category,
Integer[] options,
Integer defval,
String description)
Create a new Integer option with the given configuration.
|
static Option<Integer> |
Option.integer(String prefix,
String name,
Enum category,
Integer[] options,
String description)
Create a new Integer option with the given configuration.
|
static Option<Integer> |
Option.integer(String prefix,
String name,
Enum category,
Integer defval,
String description)
Create a new Integer option with the given configuration.
|
static Option<Integer> |
Option.integer(String prefix,
String name,
Enum category,
String description)
Create a new Integer option with the given configuration.
|
static Option<String> |
Option.string(String longName,
Enum category,
String description)
Create a new String option with the given configuration.
|
static Option<String> |
Option.string(String longName,
Enum category,
String[] options,
String description)
Create a new String option with the given configuration.
|
static Option<String> |
Option.string(String longName,
Enum category,
String[] options,
String defval,
String description)
Create a new String option with the given configuration.
|
static Option<String> |
Option.string(String longName,
Enum category,
String defval,
String description)
Create a new String option with the given configuration.
|
static Option<String> |
Option.string(String prefix,
String name,
Enum category,
String description)
Create a new String option with the given configuration.
|
static Option<String> |
Option.string(String prefix,
String name,
Enum category,
String[] options,
String description)
Create a new String option with the given configuration.
|
static Option<String> |
Option.string(String prefix,
String name,
Enum category,
String[] options,
String defval,
String description)
Create a new String option with the given configuration.
|
static Option<String> |
Option.string(String prefix,
String name,
Enum category,
String defval,
String description)
Create a new String option with the given configuration.
|
Modifier and Type | Method and Description |
---|---|
static String |
Option.formatOptions(Option... options)
Format the given options in a way suitable for use as a configuration
file or documentation.
|
static String |
Option.formatValues(Option... options)
Format the given options to show their loaded values in the current JVM.
|
Modifier and Type | Method and Description |
---|---|
static String |
Option.formatOptions(Collection<Option> options)
Format the given options in a way suitable for use as a configuration
file or documentation.
|
static String |
Option.formatValues(Collection<Option> options)
Format the given options to show their loaded values in the current JVM.
|
Copyright © 2014. All rights reserved.