@Override
	public boolean getAllPossibleValues(List<Completion> completions, Class<?> targetType, String existingData,
			String optionContext, MethodTarget target) {
		for (ModuleDefinitionResource m : xdShell.getSpringXDOperations().moduleOperations().list(null)) {
			String value = m.getType() + ":" + m.getName();
			completions.add(new Completion(value, m.getName(), pretty(m.getType()), 0));
		}
		return true;

	}
Verify the module type used in the option value
and return the valid module type.
@param value the value to validate
@return RESTModuleType the valid module type
spring-xd-shell/src/main/java/org/springframework/xd/shell/converter/QualifiedModuleNameConverter.java