Enum Class CLIOptions.SupportedOptions
java.lang.Object
java.lang.Enum<CLIOptions.SupportedOptions>
com.truebubo.maniflow.options.CLIOptions.SupportedOptions
- All Implemented Interfaces:
Serializable
,Comparable<CLIOptions.SupportedOptions>
,Constable
- Enclosing class:
CLIOptions
Supported options with the associated option property for type-safe querying
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBuy stocksChange expenseChange incomeSet the currency usedAdd debtAdd expenseShow helpSet the entry effectedAdd incomeYearly interestList debtsList expensesList incomesList stocksPay debtRepeats after this many daysSell stockShow statisticsShow version -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal org.apache.commons.cli.Option
Option for type-safe querying -
Method Summary
Modifier and TypeMethodDescriptionstatic CLIOptions.SupportedOptions
Returns the enum constant of this class with the specified name.static CLIOptions.SupportedOptions[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HELP
Show help -
VERSION
Show version -
STATS
Show statistics -
ID
Set the entry effected -
CURRENCY
Set the currency used -
INCOME
Add income -
REPEATS_AFTER
Repeats after this many days -
LIST_INCOME
List incomes -
CHANGE_INCOME
Change income -
EXPENSE
Add expense -
LIST_EXPENSE
List expenses -
CHANGE_EXPENSE
Change expense -
DEBT
Add debt -
INTEREST
Yearly interest -
LIST_DEBT
List debts -
PAY_DEBT
Pay debt -
LIST_STOCKS
List stocks -
BUY_STOCK
Buy stocks -
SELL_STOCK
Sell stock
-
-
Field Details
-
option
public final org.apache.commons.cli.Option optionOption for type-safe querying
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-