@Override
	public QualifiedModuleName convertFromText(String value, Class<?> targetType, String optionContext) {
		int colonIndex = value.indexOf(':');
		if (colonIndex == -1) {
			logger.warn("Incorrect syntax. Valid syntax is '<ModuleType>:<ModuleName>'.");
			logger.warn("For example, 'module info source:file' to get 'file' <source> module info.");
			throw new ShellException();
		}
		RESTModuleType moduleType = validateAndReturnModuleType(value.substring(0, colonIndex));
		return new QualifiedModuleName(value.substring(colonIndex + 1), moduleType);
	}
Knows how to build and query {@link org.springframework.xd.shell.command.ModuleCommands.QualifiedModuleName}s.

@author Eric Bottard
@author Ilayaperumal Gopinathan
@author Glenn Renfro
spring-xd-shell/src/main/java/org/springframework/xd/shell/converter/QualifiedModuleNameConverter.java