|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.scooterframework.tools.common.GeneratorImpl
com.scooterframework.tools.common.AbstractGenerator
com.scooterframework.tools.generator.ControllerScaffoldGenerator
com.scooterframework.tools.generator.ControllerScaffoldTestGenerator
public class ControllerScaffoldTestGenerator
This class generates controller class code.
| Field Summary |
|---|
| Fields inherited from class com.scooterframework.tools.generator.ControllerScaffoldGenerator |
|---|
connectionName, controllerClassName, controllerName, fullModelClassName, hasPrimaryKey, modelClassName, modelName, modelNameCamel, noPrefix, noSuffix, packageLine, packageName, resourceName |
| Fields inherited from class com.scooterframework.tools.common.AbstractGenerator |
|---|
contextName, frameworkInitiated, wc |
| Fields inherited from class com.scooterframework.tools.common.GeneratorImpl |
|---|
DIRECTORY_NAME_SRC, DIRECTORY_NAME_TEST, FILE_EXTENSION_JAVA, FILE_EXTENSION_JSP, FILE_EXTENSION_PROPERTIES, FILE_EXTENSION_YAML, FUNCTIONAL_TEST, linebreak, templateFilePath, UNIT_TEST |
| Fields inherited from interface com.scooterframework.tools.common.Generator |
|---|
TEMPLATE_PARSER_Q, TEMPLATE_PARSER_ST, TEMPLATE_PARSER_TYPE |
| Constructor Summary | |
|---|---|
ControllerScaffoldTestGenerator(java.lang.String templateFilePath,
java.util.Map<java.lang.String,java.lang.String> props,
java.lang.String connectionName,
java.lang.String controller,
java.lang.String model)
|
|
| Method Summary | |
|---|---|
protected java.lang.String |
getOutputFileName()
|
protected java.lang.String |
getRelativePathToOutputFile()
|
| Methods inherited from class com.scooterframework.tools.generator.ControllerScaffoldGenerator |
|---|
getTemplateProperties |
| Methods inherited from class com.scooterframework.tools.common.AbstractGenerator |
|---|
generateActiveRecordHomeInstance, getRootPath |
| Methods inherited from class com.scooterframework.tools.common.GeneratorImpl |
|---|
escape, generate, generate, generate, generate, getProperty, getTemplateContent, getTemplateFileContent, isEmpty, log, processTemplateContent, renderContent, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ControllerScaffoldTestGenerator(java.lang.String templateFilePath,
java.util.Map<java.lang.String,java.lang.String> props,
java.lang.String connectionName,
java.lang.String controller,
java.lang.String model)
| Method Detail |
|---|
protected java.lang.String getRelativePathToOutputFile()
getRelativePathToOutputFile in class ControllerScaffoldGeneratorprotected java.lang.String getOutputFileName()
getOutputFileName in class ControllerScaffoldGenerator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||