use of org.springframework.roo.shell.Completion in project spring-roo by spring-projects.
the class BooleanConverter method getAllPossibleValues.
public boolean getAllPossibleValues(final List<Completion> completions, final Class<?> requiredType, final String existingData, final String optionContext, final MethodTarget target) {
completions.add(new Completion("true"));
completions.add(new Completion("false"));
completions.add(new Completion("yes"));
completions.add(new Completion("no"));
completions.add(new Completion("1"));
completions.add(new Completion("0"));
return false;
}
Aggregations