Package net.sourceforge.plantuml.cli
Enum Class Arity
- All Implemented Interfaces:
Serializable,Comparable<Arity>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOption with a single value, e.g.Option without any value, e.g.Option without any value that break the usual behaviour, e.g.Option with an argument or a key/value, e.g.Option with a key and an optional value, e.g. -
Method Summary
-
Enum Constant Details
-
UNARY_BOOLEAN
Option without any value, e.g. -verbose -
UNARY_IMMEDIATE_ACTION
Option without any value that break the usual behaviour, e.g. -help, -testdot -
UNARY_OPTIONAL_COLON
Option with a key and an optional value, e.g. -ftp or -ftp:8080 -
UNARY_INLINE_KEY_OR_KEY_VALUE
Option with an argument or a key/value, e.g. -DSOME_FLAG or -DKEY=VALUE -
BINARY_NEXT_ARGUMENT_VALUE
Option with a single value, e.g. -graphvizdot "foo.exe"
-
-
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
-