public class PLDocCPDTask
extends org.apache.tools.ant.Task
To define task in project:
<taskdef name="pldoc" classname="net.sourceforge.pldoc.cpd.ant.PLDocCPDTask" classpath="pldoc-pmd-plugin.jar" />
To use:
<pldoc-cpd verbose = "yes" | "no" (default: "no") destdir = dir-path stylesheet = file-path (default: stylesheet from library) sourcestylesheet = file-path (default: stylesheet from library) inputEncoding = encoding (default: OS dependant) > language = expected language (default: plsql) > format = results format (default: text) > inputEncoding = encoding (default: OS dependant) > ignoreComments = (false | true) ignoreIdentifiers = (false | true) ignoreLiterals = (false | true) minimumtokens = integer showSkippedPackages = (false | true) savesourcecode = (false | true) url = text user = text password = text types = text sql = text <!-- fileset+ --> </pldoc> driverName = text getMetadataStatement = text returntype = integer
Where:
Constructor and Description |
---|
PLDocCPDTask() |
Modifier and Type | Method and Description |
---|---|
void |
addFileset(org.apache.tools.ant.types.FileSet fset) |
org.apache.tools.ant.types.Path |
createAuxClasspath() |
org.apache.tools.ant.types.Path |
createClasspath() |
void |
execute() |
org.apache.tools.ant.types.Path |
getAuxClasspath() |
org.apache.tools.ant.types.Path |
getClasspath() |
void |
setAuxClasspath(org.apache.tools.ant.types.Path auxClasspath) |
void |
setAuxClasspathRef(org.apache.tools.ant.types.Reference r) |
void |
setClasspath(org.apache.tools.ant.types.Path classpath) |
void |
setClasspathRef(org.apache.tools.ant.types.Reference r) |
void |
setDbPassword(String dbPassword) |
void |
setDbUrl(String dbUrl) |
void |
setDbUser(String dbUser) |
void |
setDestdir(File dir) |
void |
setDoctitle(String doctitle) |
void |
setDriverName(String driverName) |
void |
setExitOnError(boolean exitOnError) |
void |
setFormat(String format) |
void |
setGetMetadataStatement(String getMetadataStatement) |
void |
setIgnoreComments(boolean ignoreComments) |
void |
setIgnoreIdentifiers(boolean ignoreIdentifiers) |
void |
setIgnoreLiterals(boolean ignoreLiterals) |
void |
setInputEncoding(String enc) |
void |
setInputObjects(String inputObjects) |
void |
setInputTypes(String inputTypes) |
void |
setLanguage(String language) |
void |
setMinimumTokens(Integer minimumTokens) |
void |
setOutputFile(File file) |
void |
setReturnType(Integer getMetadataStatementReturnType) |
void |
setSaveSourceCode(boolean saveSourceCode) |
void |
setShowSkippedPackages(boolean showSkippedPackages) |
void |
setSourceStylesheet(File file) |
void |
setStylesheet(File file) |
void |
setVerbose(boolean verbose) |
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 void setClasspath(org.apache.tools.ant.types.Path classpath)
public org.apache.tools.ant.types.Path getClasspath()
public org.apache.tools.ant.types.Path createClasspath()
public void setClasspathRef(org.apache.tools.ant.types.Reference r)
public void setAuxClasspath(org.apache.tools.ant.types.Path auxClasspath)
public org.apache.tools.ant.types.Path getAuxClasspath()
public org.apache.tools.ant.types.Path createAuxClasspath()
public void setAuxClasspathRef(org.apache.tools.ant.types.Reference r)
public void setVerbose(boolean verbose)
public void setDestdir(File dir)
public void setDoctitle(String doctitle)
public void setOutputFile(File file)
public void addFileset(org.apache.tools.ant.types.FileSet fset)
public void setStylesheet(File file)
public void setSourceStylesheet(File file)
public void setInputEncoding(String enc)
public void setExitOnError(boolean exitOnError)
public void setDbUrl(String dbUrl)
public void setDbUser(String dbUser)
public void setDbPassword(String dbPassword)
public void setInputObjects(String inputObjects)
public void setInputTypes(String inputTypes)
public void setShowSkippedPackages(boolean showSkippedPackages)
public void setSaveSourceCode(boolean saveSourceCode)
public void setLanguage(String language)
public void setFormat(String format)
public void setIgnoreComments(boolean ignoreComments)
public void setIgnoreIdentifiers(boolean ignoreIdentifiers)
public void setIgnoreLiterals(boolean ignoreLiterals)
public void setMinimumTokens(Integer minimumTokens)
public void setDriverName(String driverName)
public void setGetMetadataStatement(String getMetadataStatement)
public void setReturnType(Integer getMetadataStatementReturnType)
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
Copyright © 2015. All rights reserved.