public enum PromptType extends Enum<PromptType>
| Enum Constant and Description |
|---|
ANY |
DEPENDENCY_ID |
FILE_PATH |
JAVA_CLASS |
JAVA_PACKAGE |
JAVA_VARIABLE_NAME |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(String value) |
static PromptType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PromptType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PromptType ANY
public static final PromptType DEPENDENCY_ID
public static final PromptType JAVA_PACKAGE
public static final PromptType JAVA_VARIABLE_NAME
public static final PromptType JAVA_CLASS
public static final PromptType FILE_PATH
public static PromptType[] values()
for (PromptType c : PromptType.values()) System.out.println(c);
public static PromptType 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 boolean matches(String value)
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.