|
Forge - Shell API 1.2.0.Final | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use PromptType | |
|---|---|
| org.jboss.forge.shell | |
| org.jboss.forge.shell.command | |
| Uses of PromptType in org.jboss.forge.shell |
|---|
| Methods in org.jboss.forge.shell that return PromptType | |
|---|---|
static PromptType |
PromptType.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PromptType[] |
PromptType.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods in org.jboss.forge.shell with parameters of type PromptType | |
|---|---|
String |
ShellPrompt.promptCommon(String message,
PromptType type)
Prompt for user input, first printing the given message, then returning user input as a String. |
String |
ShellPrompt.promptCommon(String message,
PromptType type,
String defaultIfEmpty)
Same as ShellPrompt.promptCommon(String, PromptType), but will default to a given value if user input is empty. |
| Uses of PromptType in org.jboss.forge.shell.command |
|---|
| Methods in org.jboss.forge.shell.command that return PromptType | |
|---|---|
PromptType |
OptionMetadata.getPromptType()
Get the requested PromptType for this option. |
|
Forge - Shell API 1.2.0.Final | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||