
public final class ValidateClassesTask extends ClassFileProcessorTask
createVelocityPropertycreateTransformationOutputProperty| Constructor and Description |
|---|
ValidateClassesTask()
Creates a new
ValidateClassesTask instance. |
| Modifier and Type | Method and Description |
|---|---|
ValidateClassesTask |
clone()
Creates and returns a copy of this object.
|
File |
getClassesDirectory()
Gets the directory holding the class files to validate model objects of.
|
void |
preExecuteTask()
Called by the
execute method prior to the executeTask method. |
void |
processClassFiles()
Validates class file model objects.
|
void |
setClassesDirectory(File value)
Sets the directory holding the class files to validate model objects of.
|
configureClassFileProcessor, executeTask, getClassFileProcessorClass, isClassProcessingEnabled, newClassFileProcessor, setClassFileProcessorClass, setClassProcessingEnabledconfigureJomcTool, 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, setTemplateProfilecreateModuleResource, getModel, getModuleLocation, getModuleResources, getTransformerLocation, isJavaValidationEnabled, isModelObjectClasspathResolutionEnabled, isModelResourceValidationEnabled, newModelContext, setJavaValidationEnabled, setModelObjectClasspathResolutionEnabled, setModelResourceValidationEnabled, setModuleLocation, setTransformerLocationassertKeysNotNull, 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, setUnlessbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic ValidateClassesTask()
ValidateClassesTask instance.public File getClassesDirectory()
null.setClassesDirectory(java.io.File)public void setClassesDirectory(File value)
value - The new directory holding the class files to validate model objects of or null.getClassesDirectory()public void preExecuteTask() throws org.apache.tools.ant.BuildException
execute method prior to the executeTask method.preExecuteTask in class JomcToolTaskorg.apache.tools.ant.BuildException - if execution fails.JomcTask.execute()public void processClassFiles() throws org.apache.tools.ant.BuildException
processClassFiles in class ClassFileProcessorTaskorg.apache.tools.ant.BuildException - if validating class file model objects fails.ClassFileProcessorTask.executeTask()public ValidateClassesTask clone()
clone in class ClassFileProcessorTaskCopyright © 2005-2013 The JOMC Project. All Rights Reserved.