001package net.gdface.codegen.generic;
002
003import net.gdface.codegen.generator.GeneratorOptions;
004
005import org.apache.commons.cli.Option;
006
007public class GenericInterfaceOptions extends GeneratorOptions{
008        private final static GenericInterfaceOptions instance = new GenericInterfaceOptions();
009
010        /**
011         * 
012         */
013        protected GenericInterfaceOptions() {
014                super();
015                options.addOption(Option.builder(INTERFACE_CLASS_OPTION).longOpt(INTERFACE_CLASS_OPTION_LONG)
016                                .desc(INTERFACE_CLASS_OPTION_DESC).numberOfArgs(1).type(Class.class).required().build());
017                options.addOption(Option.builder(REFERENCE_CLASS_OPTION).longOpt(REFERENCE_CLASS_OPTION_LONG)
018                                .desc(REFERENCE_CLASS_OPTION_DESC).numberOfArgs(1).type(Class.class).required().build());
019                options.addOption(Option.builder(SHELL_INTERFACE_OPTION).longOpt(SHELL_INTERFACE_OPTION_LONG)
020                                .desc(SHELL_INTERFACE_OPTION_DESC).numberOfArgs(1).type(Class.class).required().build());
021        }
022
023        /**
024         * @return instance
025         */
026        public static GenericInterfaceOptions getInstance() {
027                return instance;
028        }
029
030
031}