Class SignedSelector

  extended by
      extended by
          extended by
All Implemented Interfaces:
java.lang.Cloneable, FileSelector

public class SignedSelector
extends DataType
implements FileSelector

Selector that chooses files based on whether they are signed or not.


Field Summary
Fields inherited from class
checked, ref
Fields inherited from class
description, location, project
Constructor Summary
Method Summary
 boolean isSelected( basedir, java.lang.String filename, file)
          The heart of the matter.
 void setName(java.lang.String name)
          The signature name to check jarfile for.
Methods inherited from class
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toString
Methods inherited from class
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public SignedSelector()
Method Detail


public void setName(java.lang.String name)
The signature name to check jarfile for.

name - signature to look for.


public boolean isSelected( basedir,
                          java.lang.String filename,
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:
isSelected in interface FileSelector
basedir - not used by this selector
filename - not used by this selector
file - path to file to be selected
whether the file should be selected or not