net.gdface.codegen.generic.GenericInterfaceOptions Maven / Gradle / Ivy
package net.gdface.codegen.generic;
import net.gdface.codegen.generator.GeneratorOptions;
import org.apache.commons.cli.Option;
public class GenericInterfaceOptions extends GeneratorOptions{
private final static GenericInterfaceOptions instance = new GenericInterfaceOptions();
/**
*
*/
protected GenericInterfaceOptions() {
super();
options.addOption(Option.builder(INTERFACE_CLASS_OPTION).longOpt(INTERFACE_CLASS_OPTION_LONG)
.desc(INTERFACE_CLASS_OPTION_DESC).numberOfArgs(1).type(Class.class).required().build());
options.addOption(Option.builder(REFERENCE_CLASS_OPTION).longOpt(REFERENCE_CLASS_OPTION_LONG)
.desc(REFERENCE_CLASS_OPTION_DESC).numberOfArgs(1).type(Class.class).required().build());
options.addOption(Option.builder(SHELL_INTERFACE_OPTION).longOpt(SHELL_INTERFACE_OPTION_LONG)
.desc(SHELL_INTERFACE_OPTION_DESC).numberOfArgs(1).type(Class.class).required().build());
}
/**
* @return instance
*/
public static GenericInterfaceOptions getInstance() {
return instance;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy