
com.beust.jcommander.IStringConverterInstanceFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.portal.tools.rest.builder
Show all versions of com.liferay.portal.tools.rest.builder
Liferay Portal Tools REST Builder
The newest version!
package com.beust.jcommander;
/**
* A factory to create {@link IStringConverter} instances.
*
* This interface lets you specify your converters in one place instead of having them repeated all over your argument classes.
*
* @author simon04
* @see IStringConverterFactory
*/
public interface IStringConverterInstanceFactory {
/**
* Obtain a converter instance for parsing {@code parameter} as type {@code forType}
* @param parameter the parameter to parse
* @param forType the type class
* @param optionName the name of the option used on the command line
* @return a converter instance
*/
IStringConverter> getConverterInstance(Parameter parameter, Class> forType, String optionName);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy