Class Template
- java.lang.Object
-
- org.smallmind.nutsnbolts.command.template.Template
-
public class Template extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddOptions(List<Option> optionList)voidaddOptions(Option... options)static TemplatecreateTemplate(Class<?> entryClass)Set<Option>getOptionSet()List<Option>getRootOptionList()StringgetShortName()StringtoString()
-
-
-
Constructor Detail
-
Template
public Template(Class<?> entryClass)
-
Template
public Template(String shortName, Option... options) throws CommandLineException
- Throws:
CommandLineException
-
-
Method Detail
-
createTemplate
public static Template createTemplate(Class<?> entryClass) throws CommandLineException
- Throws:
CommandLineException
-
getShortName
public String getShortName()
-
addOptions
public void addOptions(Option... options) throws CommandLineException
- Throws:
CommandLineException
-
addOptions
public void addOptions(List<Option> optionList) throws CommandLineException
- Throws:
CommandLineException
-
-