public class Template extends Object
| Constructor and Description |
|---|
Template(Class<?> entryClass) |
Template(String shortName,
Option... options) |
| Modifier and Type | Method and Description |
|---|---|
void |
addOptions(List<Option> optionList) |
void |
addOptions(Option... options) |
static Template |
createTemplate(Class<?> entryClass) |
Set<Option> |
getOptionSet() |
List<Option> |
getRootOptionList() |
String |
getShortName() |
String |
toString() |
public Template(Class<?> entryClass)
public Template(String shortName, Option... options) throws CommandLineException
CommandLineExceptionpublic static Template createTemplate(Class<?> entryClass) throws CommandLineException
CommandLineExceptionpublic String getShortName()
public void addOptions(Option... options) throws CommandLineException
CommandLineExceptionpublic void addOptions(List<Option> optionList) throws CommandLineException
CommandLineExceptionCopyright © 2020. All rights reserved.