Class SignedSelector
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
org.apache.tools.ant.types.selectors.SignedSelector
- All Implemented Interfaces:
Cloneable, ResourceSelector, FileSelector
Selector that chooses files based on whether they are signed or not.
- Since:
- 1.7
-
Field Summary
Fields inherited from class ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class DataType
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toStringMethods inherited from class ProjectComponent
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface FileSelector
isSelected
-
Constructor Details
-
SignedSelector
public SignedSelector()
-
-
Method Details
-
setName
The signature name to check jarfile for.- Parameters:
name- signature to look for.
-
isSelected
The heart of the matter. This is where the selector gets to decide on the inclusion of a file in a particular fileset.- Specified by:
isSelectedin interfaceFileSelector- Parameters:
basedir- not used by this selectorfilename- not used by this selectorfile- path to file to be selected- Returns:
- whether the file should be selected or not
-