Ondrej Zizka created FORGE-2337:
-----------------------------------
Summary: Make promptBoolean() print the message and assume the default value
in shell.
Key: FORGE-2337
URL:
https://issues.jboss.org/browse/FORGE-2337
Project: Forge
Issue Type: Enhancement
Components: UI - API, UI - Shell
Affects Versions: 2.15.2.Final
Reporter: Ondrej Zizka
Please make prompt() to print the text and assume the default value when
INTERACTIVE=false.
This does nothing if INTERACTIVE=false :
{code:java}
@Override
public Result execute(UIExecutionContext uiExecContext) throws Exception
{
uiExecContext.getPrompt().promptBoolean("AAAAA", true);
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)