org.eclipse.tigerstripe.workbench.plugins
Interface ITemplateBasedRule

All Superinterfaces:
IRule
All Known Subinterfaces:
IArtifactBasedTemplateRule, IGlobalTemplateRule

public interface ITemplateBasedRule
extends IRule

Top-level interface for Template rules in a Pluggable Plugin

Since:
1.2
Author:
Eric Dillon

Method Summary
 void addMacroLibraries(java.lang.String[] library)
           
 void addMacroLibrary(java.lang.String library)
           
 void addVelocityContextDefinition(org.eclipse.tigerstripe.workbench.internal.core.plugin.pluggable.VelocityContextDefinition def)
           
 void addVelocityContextDefinitions(org.eclipse.tigerstripe.workbench.internal.core.plugin.pluggable.VelocityContextDefinition[] def)
           
 java.lang.String[] getMacroLibraries()
           
 java.lang.String getOutputFile()
           
 java.lang.String getTemplate()
           
 org.eclipse.tigerstripe.workbench.internal.core.plugin.pluggable.VelocityContextDefinition[] getVelocityContextDefinitions()
           
 boolean hasMacroLibrary()
           
 boolean isOverwriteFiles()
           
 boolean isSuppressEmptyFiles()
           
 void removeMacroLibraries(java.lang.String[] library)
           
 void removeMacroLibrary(java.lang.String library)
           
 void removeVelocityContextDefinition(org.eclipse.tigerstripe.workbench.internal.core.plugin.pluggable.VelocityContextDefinition def)
           
 void removeVelocityContextDefinitions(org.eclipse.tigerstripe.workbench.internal.core.plugin.pluggable.VelocityContextDefinition[] def)
           
 void setOutputFile(java.lang.String outputFile)
           
 void setOverwriteFiles(boolean overwriteFiles)
           
 void setSuppressEmptyFiles(boolean suppress)
           
 void setTemplate(java.lang.String template)
           
 
Methods inherited from interface org.eclipse.tigerstripe.workbench.plugins.IRule
getDescription, getLabel, getName, getType, isEnabled, setDescription, setEnabled, setName
 

Method Detail

getTemplate

java.lang.String getTemplate()

setTemplate

void setTemplate(java.lang.String template)

getOutputFile

java.lang.String getOutputFile()

setOutputFile

void setOutputFile(java.lang.String outputFile)

getVelocityContextDefinitions

org.eclipse.tigerstripe.workbench.internal.core.plugin.pluggable.VelocityContextDefinition[] getVelocityContextDefinitions()

addVelocityContextDefinition

void addVelocityContextDefinition(org.eclipse.tigerstripe.workbench.internal.core.plugin.pluggable.VelocityContextDefinition def)

removeVelocityContextDefinition

void removeVelocityContextDefinition(org.eclipse.tigerstripe.workbench.internal.core.plugin.pluggable.VelocityContextDefinition def)

addVelocityContextDefinitions

void addVelocityContextDefinitions(org.eclipse.tigerstripe.workbench.internal.core.plugin.pluggable.VelocityContextDefinition[] def)

removeVelocityContextDefinitions

void removeVelocityContextDefinitions(org.eclipse.tigerstripe.workbench.internal.core.plugin.pluggable.VelocityContextDefinition[] def)

getMacroLibraries

java.lang.String[] getMacroLibraries()

addMacroLibrary

void addMacroLibrary(java.lang.String library)

removeMacroLibrary

void removeMacroLibrary(java.lang.String library)

addMacroLibraries

void addMacroLibraries(java.lang.String[] library)

removeMacroLibraries

void removeMacroLibraries(java.lang.String[] library)

hasMacroLibrary

boolean hasMacroLibrary()

isSuppressEmptyFiles

boolean isSuppressEmptyFiles()

setSuppressEmptyFiles

void setSuppressEmptyFiles(boolean suppress)

isOverwriteFiles

boolean isOverwriteFiles()

setOverwriteFiles

void setOverwriteFiles(boolean overwriteFiles)