public final class ManageSourcesTask extends SourceFileProcessorTask
createVelocityProperty
createTransformationOutputProperty
Constructor and Description |
---|
ManageSourcesTask()
Creates a new
ManageSourcesTask instance. |
Modifier and Type | Method and Description |
---|---|
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.
|
configureSourceFileProcessor, executeTask, getSourceFileProcessorClass, isSourceProcessingEnabled, newSourceFileProcessor, setSourceFileProcessorClass, setSourceProcessingEnabled
configureJomcTool, createLocale, createTemplateParameter, createTemplateParameterResource, createVelocityProperty, createVelocityPropertyResource, getDefaultTemplateEncoding, getDefaultTemplateProfile, getImplementation, getImplementation, getIndentation, getInputEncoding, getLineSeparator, getLocale, getModule, getModule, getOutputEncoding, getSpecification, getSpecification, getTemplateEncoding, getTemplateLocation, getTemplateParameterResources, getTemplateParameters, getTemplateProfile, getVelocityProperties, getVelocityPropertyResources, isModulesProcessingRequested, postExecuteTask, setDefaultTemplateEncoding, setDefaultTemplateProfile, setImplementation, setIndentation, setInputEncoding, setLineSeparator, setModule, setOutputEncoding, setSpecification, setTemplateEncoding, setTemplateLocation, setTemplateProfile
createModuleResource, getModel, getModuleLocation, getModuleResources, getTransformerLocation, isJavaValidationEnabled, isModelObjectClasspathResolutionEnabled, isModelResourceValidationEnabled, newModelContext, setJavaValidationEnabled, setModelObjectClasspathResolutionEnabled, setModelResourceValidationEnabled, setModuleLocation, setTransformerLocation
assertKeysNotNull, assertLocationsNotNull, assertNamesNotNull, assertNotNull, createClasspath, createModelContextAttribute, createTransformationOutputProperty, createTransformationParameter, createTransformationParameterResource, execute, getClasspath, getDirectory, getIf, getModel, getModelContextAttributes, getModelContextFactoryClassName, getModletLocation, getModletSchemaSystemId, getPlatformProviderLocation, getProperties, getProviderLocation, getResource, getResources, getTransformationOutputProperties, getTransformationParameterResources, getTransformationParameters, getTransformer, getUnless, isModelProcessingEnabled, isModletResourceValidationEnabled, logMessage, logMessage, logSeparator, logValidationReport, newProjectClassLoader, setClasspath, setClasspathRef, setIf, setModel, setModelContextFactoryClassName, setModelProcessingEnabled, setModletLocation, setModletResourceValidationEnabled, setModletSchemaSystemId, setPlatformProviderLocation, setProviderLocation, setUnless
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 ManageSourcesTask()
ManageSourcesTask
instance.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
Copyright © 2005-2013 The JOMC Project. All Rights Reserved.