ShellUIPromptImpl prompt = shell.createPrompt(context);
for (InputComponent<?, ?> input : inputs)
{
if (input.isRequired() && !(input.hasDefaultValue() || input.hasValue()))
{
Object obj = prompt.promptValueFrom(input);
if (obj == null)
{
// No value returned. Just stop testing other inputs
break;
}