public abstract Result execute() throws Exception;
protected Map<String, InputComponent<?, Object>> buildInputs(UICommand command)
{
// Initialize UICommand
ShellUIBuilderImpl builder = new ShellUIBuilderImpl(context);
try
{
command.initializeUI(builder);
}
catch (Exception e)
{
throw new RuntimeException("Error while initializing command", e);
}
return builder.getComponentMap();
}