|
||||||||||
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.ClassFileProcessorTask
org.jomc.ant.ValidateClassesTask
public final class ValidateClassesTask
Task for validating class file model objects.
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 | |
---|---|
ValidateClassesTask()
Creates a new ValidateClassesTask instance. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.jomc.ant.ClassFileProcessorTask |
---|
configureClassFileProcessor, executeTask, getClassFileProcessorClass, isClassProcessingEnabled, newClassFileProcessor, setClassFileProcessorClass, setClassProcessingEnabled |
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 ValidateClassesTask()
ValidateClassesTask
instance.
Method Detail |
---|
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 JomcToolTask
org.apache.tools.ant.BuildException
- if execution fails.JomcTask.execute()
public void processClassFiles() throws org.apache.tools.ant.BuildException
processClassFiles
in class ClassFileProcessorTask
org.apache.tools.ant.BuildException
- if validating class file model objects fails.ClassFileProcessorTask.executeTask()
public ValidateClassesTask clone()
clone
in class ClassFileProcessorTask
|
||||||||||
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. |