Package ch.raffael.meldioc.model
Enum BuiltinArgument
- java.lang.Object
-
- java.lang.Enum<BuiltinArgument>
-
- ch.raffael.meldioc.model.BuiltinArgument
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BuiltinArgument>
public enum BuiltinArgument extends java.lang.Enum<BuiltinArgument>
Builtin arguments to setup methods.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <S,T>
io.vavr.control.Either<ch.raffael.meldioc.model.ModelMethod<S,T>,BuiltinArgument>argument()static BuiltinArgumentvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BuiltinArgument[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONFIG
public static final BuiltinArgument CONFIG
-
NONE
public static final BuiltinArgument NONE
-
-
Method Detail
-
values
public static BuiltinArgument[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BuiltinArgument c : BuiltinArgument.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BuiltinArgument valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
argument
public <S,T> io.vavr.control.Either<ch.raffael.meldioc.model.ModelMethod<S,T>,BuiltinArgument> argument()
-
-