public class WaitCommand extends AbstractShellCommand
| Constructor and Description |
|---|
WaitCommand() |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.forge.addon.ui.result.Result |
execute(org.jboss.forge.addon.ui.context.UIExecutionContext context) |
org.jboss.forge.addon.ui.metadata.UICommandMetadata |
getMetadata(org.jboss.forge.addon.ui.context.UIContext context) |
void |
initializeUI(org.jboss.forge.addon.ui.context.UIBuilder builder) |
void |
wait(org.jboss.forge.addon.ui.input.UIPrompt prompt) |
isEnabled, isEnabledpublic void initializeUI(org.jboss.forge.addon.ui.context.UIBuilder builder)
throws Exception
Exceptionpublic org.jboss.forge.addon.ui.metadata.UICommandMetadata getMetadata(org.jboss.forge.addon.ui.context.UIContext context)
getMetadata in interface org.jboss.forge.addon.ui.command.UICommandgetMetadata in class AbstractShellCommandpublic org.jboss.forge.addon.ui.result.Result execute(org.jboss.forge.addon.ui.context.UIExecutionContext context)
throws Exception
Exception@Command(value="wait",
help="Wait for ENTER.",
enabled=org.jboss.forge.addon.ui.annotation.predicate.NonGUIEnabledPredicate.class)
public void wait(org.jboss.forge.addon.ui.input.UIPrompt prompt)
Copyright © 2014 JBoss by Red Hat. All rights reserved.