|
||||||||||
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.jomc.ant.JomcTask
org.jomc.ant.JomcModelTask
org.jomc.ant.JomcToolTask
org.jomc.ant.SourceFileProcessorTask
org.jomc.ant.ManageSourcesTask
public final class ManageSourcesTask
Task for managing source files.
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 | |
---|---|
ManageSourcesTask()
Creates a new ManageSourcesTask instance. |
Method Summary | |
---|---|
ManageSourcesTask |
clone()
Creates and returns a copy of this object. |
File |
getSourcesDirectory()
Gets the directory holding the source files to manage. |
void |
preExecuteTask()
Called by the execute method prior to the executeTask method. |
void |
processSourceFiles()
Manages source files. |
void |
setSourcesDirectory(File value)
Sets the directory holding the source files to manage. |
Methods inherited from class org.jomc.ant.SourceFileProcessorTask |
---|
configureSourceFileProcessor, executeTask, getSourceFileProcessorClass, isSourceProcessingEnabled, newSourceFileProcessor, setSourceFileProcessorClass, setSourceProcessingEnabled |
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 |
---|
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 ManageSourcesTask()
ManageSourcesTask
instance.
Method Detail |
---|
public File getSourcesDirectory()
null
.setSourcesDirectory(java.io.File)
public void setSourcesDirectory(File value)
value
- The new directory holding the source files to manage or null
.getSourcesDirectory()
public void preExecuteTask() throws org.apache.tools.ant.BuildException
execute
method prior to the executeTask
method.
preExecuteTask
in class JomcToolTask
org.apache.tools.ant.BuildException
- if execution fails.JomcTask.execute()
public void processSourceFiles() throws org.apache.tools.ant.BuildException
processSourceFiles
in class SourceFileProcessorTask
org.apache.tools.ant.BuildException
- if managing source files fails.SourceFileProcessorTask.executeTask()
public ManageSourcesTask clone()
clone
in class SourceFileProcessorTask
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2005-2012 The JOMC Project. All Rights Reserved. |