|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mevenide.genapp.GenAppTemplateFinder
public class GenAppTemplateFinder
creator of genapp templates information. Currently no caching is done, not so often performed operation.
| Field Summary | |
|---|---|
static java.lang.String |
LOCATION_ALL
constant combining default and user defined templates. |
static java.lang.String |
LOCATION_DEFAULT
constant for genapp plugin default templates |
static java.lang.String |
LOCATION_USER
constant for genapp user defined templates |
| Constructor Summary | |
|---|---|
GenAppTemplateFinder(org.mevenide.context.IQueryContext cont)
Creates a new instance of MavenTemplateEnumerator |
|
| Method Summary | |
|---|---|
TemplateInfo[] |
getTemplates(java.io.File customTemplateRootDir)
get genapp templates information for a custom location. |
TemplateInfo[] |
getTemplates(java.lang.String type)
get genapp templates information for a given location. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String LOCATION_DEFAULT
public static final java.lang.String LOCATION_USER
public static final java.lang.String LOCATION_ALL
| Constructor Detail |
|---|
public GenAppTemplateFinder(org.mevenide.context.IQueryContext cont)
| Method Detail |
|---|
public TemplateInfo[] getTemplates(java.lang.String type)
type - one of GenAppTemplateFinder.LOCATION_ALL,
GenAppTemplateFinder.LOCATION_USER or
GenAppTemplateFinder.LOCATION_DEFAULTpublic TemplateInfo[] getTemplates(java.io.File customTemplateRootDir)
customTemplateRootDir - a custom root directory where templates are
stored.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||