public class ProcessTemplateTask
extends org.apache.tools.ant.Task
Modifier and Type | Field and Description |
---|---|
File |
baseDir |
FreemarkerEngine |
engine |
boolean |
explicitRemoveTemplate |
String[] |
extensions |
Object |
input |
boolean |
removeExtension |
boolean |
removeTemplate |
File |
toDir |
Constructor and Description |
---|
ProcessTemplateTask() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
void |
processDirectory(File dir,
String relPath) |
void |
processFile(File file,
String relPath,
String ext) |
void |
setBasedir(File baseDir) |
void |
setExtension(String extension) |
void |
setRemoveExtension(boolean removeExtension) |
void |
setRemoveTemplate(boolean removeTemplate) |
void |
setTodir(File toDir) |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public File baseDir
public String[] extensions
public boolean removeExtension
public boolean removeTemplate
public boolean explicitRemoveTemplate
public Object input
public File toDir
public FreemarkerEngine engine
public void setBasedir(File baseDir)
public void setExtension(String extension)
public void setRemoveExtension(boolean removeExtension)
public void setRemoveTemplate(boolean removeTemplate)
public void setTodir(File toDir)
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
Copyright © 2016 Nuxeo SA. All Rights Reserved.