com.cedarsoft.codegen
Class GeneratorCliSupport
java.lang.Object
com.cedarsoft.codegen.GeneratorCliSupport
public class GeneratorCliSupport
- extends Object
|
Method Summary |
protected org.apache.commons.cli.Options |
buildOptions()
|
protected void |
printError(org.apache.commons.cli.Options options,
String errorMessage)
|
protected void |
printHelp(org.apache.commons.cli.Options options)
|
void |
run(String[] args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HELP_OPTION
@NonNls
public static final String HELP_OPTION
- See Also:
- Constant Field Values
OPTION_DESTINATION
@NonNls
public static final String OPTION_DESTINATION
- See Also:
- Constant Field Values
OPTION_RESOURCES_DESTINATION
@NonNls
public static final String OPTION_RESOURCES_DESTINATION
- See Also:
- Constant Field Values
OPTION_TEST_DESTINATION
@NonNls
public static final String OPTION_TEST_DESTINATION
- See Also:
- Constant Field Values
OPTION_TEST_RESOURCES_DESTINATION
@NonNls
public static final String OPTION_TEST_RESOURCES_DESTINATION
- See Also:
- Constant Field Values
GeneratorCliSupport
public GeneratorCliSupport(@NotNull
AbstractGenerator generator,
@NotNull@NonNls
String commandName)
GeneratorCliSupport
public GeneratorCliSupport(@NotNull
AbstractGenerator generator,
@NotNull@NonNls
String commandName,
@NotNull@NonNls
PrintWriter logOut)
printError
protected void printError(@NotNull
org.apache.commons.cli.Options options,
@NotNull@NonNls
String errorMessage)
printHelp
protected void printHelp(@NotNull
org.apache.commons.cli.Options options)
buildOptions
@NotNull
protected org.apache.commons.cli.Options buildOptions()
run
public void run(@NotNull@NonNls
String[] args)
throws Exception
- Throws:
Exception
Copyright © 2010 cedarsoft GmbH. All Rights Reserved.