| Modifier and Type | Class and Description |
|---|---|
class |
CopyResourcesStrategy
A
ProcessingStrategy to copy the contents of the ScaffoldResource from it's source on the classpath
to it's destination in the project's web resources. |
class |
DetailTemplateStrategy
A strategy for generating the detail page with included files.
|
class |
ProcessTemplateStrategy
A
ProcessingStrategy to process the contents of the ScaffoldResource from it's source on the
classpath or the project file system with the Freemarker Template engine. |
class |
SearchTemplateStrategy
A strategy for generating the search page with included files.
|
| Modifier and Type | Method and Description |
|---|---|
static List<ScaffoldResource> |
ResourceProvider.getEntityTemplates(String targetDir,
String entityName,
ProcessingStrategy strategy)
Provides a list of
ScaffoldResources representing Freemarker templates that are to be processed for every entity
during a scaffold generation run. |
static List<ScaffoldResource> |
ResourceProvider.getGlobalTemplates(String targetDir,
ProcessingStrategy strategy)
Provides a list of
ScaffoldResources representing Freemarker templates that are to be processed only once for a
scaffold generation run. |
static List<ScaffoldResource> |
ResourceProvider.getStatics(String targetDir,
ProcessingStrategy strategy)
Provides a list of
ScaffoldResources representing static files that are to be copied upon scaffolding setup. |
| Constructor and Description |
|---|
ScaffoldResource(String source,
String destination,
ProcessingStrategy strategy) |
Copyright © 2014 JBoss by Red Hat. All rights reserved.