Package org.java.plugin.tools.ant
Class BaseJpfTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.MatchingTask
org.java.plugin.tools.ant.BaseJpfTask
- All Implemented Interfaces:
Cloneable,org.apache.tools.ant.types.selectors.SelectorContainer
- Direct Known Subclasses:
CheckTask,DocTask,PackTask,PathTask,SingleFilePluginTask,SortTask,VersionUpdateTask
public abstract class BaseJpfTask
extends org.apache.tools.ant.taskdefs.MatchingTask
Base class for some JPF related ant tasks.
- Version:
- $Id: BaseJpfTask.java,v 1.8 2007/03/03 17:16:26 ddimon Exp $
-
Field Summary
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask
filesetFields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapperFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFileset(org.apache.tools.ant.types.FileSet set) protected File[]protected URLgetManifestURL(File file) protected final PathResolverprotected final PluginRegistryprotected final booleanprotected final voidinitRegistry(boolean usePathResolver) protected booleanisManifestAccepted(URL manifestUrl) final voidsetBaseDir(File aBaseDir) final voidsetBlackList(File file) final voidsetVerbose(boolean aVerbose) final voidsetWhiteList(File file) Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItemsMethods inherited from class org.apache.tools.ant.Task
bindToOwner, execute, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation
-
Constructor Details
-
BaseJpfTask
public BaseJpfTask()
-
-
Method Details
-
addFileset
public void addFileset(org.apache.tools.ant.types.FileSet set) - Parameters:
set- the set of files to be registered as manifests
-
setBaseDir
- Parameters:
aBaseDir- base directory for manifest files
-
setVerbose
public final void setVerbose(boolean aVerbose) - Parameters:
aVerbose-trueif detailed integrity check report required
-
setWhiteList
- Parameters:
file- while list file- Throws:
IOException- if list reading failed
-
setBlackList
- Parameters:
file- black list file- Throws:
IOException- if list reading failed
-
loadList
- Throws:
IOException
-
getVerbose
protected final boolean getVerbose() -
getPathResolver
-
getRegistry
-
getWhiteList
-
getBlackList
-
initRegistry
protected final void initRegistry(boolean usePathResolver) -
getIncludedFiles
-
getManifestURL
- Throws:
MalformedURLException
-
isManifestAccepted
- Throws:
ManifestProcessingException
-