|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.foray.app.ant.FOrayAntTask
public class FOrayAntTask
Wrapper for FOray which allows it to be accessed from within an Ant task. Accepts the inputs:
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.Task |
---|
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
description, location, project |
Constructor Summary | |
---|---|
FOrayAntTask()
|
Method Summary | |
---|---|
void |
addFileset(org.apache.tools.ant.types.FileSet set)
Adds a set of fo files (nested fileset attribute). |
void |
execute()
Starts execution of this task. |
File |
getBasedir()
Gets the base directory. |
protected String |
getFileExtension()
Returns the output file extension. |
List<org.apache.tools.ant.types.FileSet> |
getFilesets()
Returns the filesets. |
File |
getFofile()
Gets the input file. |
boolean |
getForce()
Gets the force attribute. |
String |
getFormat()
Gets the output format (MIME type). |
boolean |
getLogFiles()
Returns the "log filenames" flag. |
org.apache.commons.logging.Log |
getLogger()
Returns the logger. |
int |
getMessageType()
Returns the message type corresponding to Property.MSG_(INFO | VERBOSE | DEBUG) representing the current message level. |
File |
getOutdir()
Gets the output directory. |
File |
getOutfile()
Gets the output file. |
protected OutputTargetType |
getRendererType()
Returns the renderer type. |
URL |
getUserConfig()
Returns the URL of the user configuration. |
void |
setBasedir(File baseDir)
Sets the base directory. |
void |
setFofile(File foFile)
Sets the input file. |
void |
setForce(boolean force)
Set whether to check dependencies, or to always generate; optional, default is false. |
void |
setFormat(String format)
Sets output format (MIME type). |
void |
setLogFiles(boolean aBoolean)
Controls whether the filenames of the files that are processed are logged or not. |
void |
setMessagelevel(String messageLevel)
Sets the message level to be used while processing. |
void |
setOutdir(File outDir)
Sets the output directory. |
void |
setOutfile(File outFile)
Sets the output file. |
void |
setUserconfig(URL userConfig)
Sets the user configuration file. |
Methods inherited from class org.apache.tools.ant.Task |
---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FOrayAntTask()
Method Detail |
---|
public void setUserconfig(URL userConfig)
userConfig
- File containing the user configuration.public void setFofile(File foFile)
foFile
- The FO input file.public File getFofile()
public void addFileset(org.apache.tools.ant.types.FileSet set)
set
- The new FileSet instance to add.public void setForce(boolean force)
force
- true if always generate.public boolean getForce()
public void setOutfile(File outFile)
outFile
- The File to which the output should be written.public File getOutfile()
public void setOutdir(File outDir)
outDir
- Directory to which the output should be written.public File getOutdir()
public void setFormat(String format)
format
- The mime type of the output.public String getFormat()
public void setMessagelevel(String messageLevel)
messageLevel
- String containing (info | verbose | debug).public int getMessageType()
public void setBasedir(File baseDir)
baseDir
- File to use as a working directory.public File getBasedir()
public void setLogFiles(boolean aBoolean)
aBoolean
- Set to true to log the filenames.public boolean getLogFiles()
public void execute()
execute
in class org.apache.tools.ant.Task
public org.apache.commons.logging.Log getLogger()
protected OutputTargetType getRendererType()
protected String getFileExtension()
public List<org.apache.tools.ant.types.FileSet> getFilesets()
public URL getUserConfig()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |