|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IArtifactBasedTemplateRule
An ArtifactBased Template Run rule in a Pluggable Plugin This rule will be run once per instance (with possibility of filtering) of a designated Artifact Type. For each instance of that Artifact Type a "Model Object" will be instantiated and placed in the velocity context.
| Method Summary | |
|---|---|
java.lang.String |
getArtifactFilterClass()
|
java.lang.String |
getArtifactType()
|
java.lang.String |
getModelClass()
Returns the Fully Qualified Name of the Model to instantiate |
java.lang.String |
getModelClassName()
Get the name to be used in the templates for objects of this type This will typically be "model" or "class" |
void |
setArtifactFilterClass(java.lang.String classname)
|
void |
setArtifactType(java.lang.String artifactType)
|
void |
setModelClass(java.lang.String classname)
Sets the classname of the model object to instantiate |
void |
setModelClassName(java.lang.String classname)
Set the name to be used in the templates for objects of this type This will typically be "model" or "class" |
| Methods inherited from interface org.eclipse.tigerstripe.workbench.plugins.ITemplateBasedRule |
|---|
addMacroLibraries, addMacroLibrary, addVelocityContextDefinition, addVelocityContextDefinitions, getMacroLibraries, getOutputFile, getTemplate, getVelocityContextDefinitions, hasMacroLibrary, isOverwriteFiles, isSuppressEmptyFiles, removeMacroLibraries, removeMacroLibrary, removeVelocityContextDefinition, removeVelocityContextDefinitions, setOutputFile, setOverwriteFiles, setSuppressEmptyFiles, setTemplate |
| Methods inherited from interface org.eclipse.tigerstripe.workbench.plugins.IRule |
|---|
getDescription, getLabel, getName, getType, isEnabled, setDescription, setEnabled, setName |
| Method Detail |
|---|
java.lang.String getModelClass()
void setModelClass(java.lang.String classname)
classname - java.lang.String getModelClassName()
void setModelClassName(java.lang.String classname)
classname - java.lang.String getArtifactFilterClass()
void setArtifactFilterClass(java.lang.String classname)
java.lang.String getArtifactType()
void setArtifactType(java.lang.String artifactType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||