public enum DirectiveArgumentType extends Enum<DirectiveArgumentType>
Enum Constant and Description |
---|
BOOLEAN |
EXPRESSTION |
MULTIEXPRESSION |
NONE |
ONOFF |
SET |
STRING |
TAIL |
VARNAME |
Modifier and Type | Method and Description |
---|---|
String |
getAsText() |
static DirectiveArgumentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DirectiveArgumentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DirectiveArgumentType NONE
public static final DirectiveArgumentType STRING
public static final DirectiveArgumentType TAIL
public static final DirectiveArgumentType BOOLEAN
public static final DirectiveArgumentType VARNAME
public static final DirectiveArgumentType EXPRESSTION
public static final DirectiveArgumentType MULTIEXPRESSION
public static final DirectiveArgumentType SET
public static final DirectiveArgumentType ONOFF
public static DirectiveArgumentType[] values()
for (DirectiveArgumentType c : DirectiveArgumentType.values()) System.out.println(c);
public static DirectiveArgumentType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getAsText()
Copyright © 2011–2020 Igor Maznitsa. All rights reserved.