com.jalios.jcms.tools.ant
Class GeneratedFileSelector

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.types.DataType
          extended by org.apache.tools.ant.types.selectors.BaseSelector
              extended by org.apache.tools.ant.types.selectors.BaseExtendSelector
                  extended by com.jalios.jcms.tools.ant.GeneratedFileSelector
All Implemented Interfaces:
Cloneable, org.apache.tools.ant.types.Parameterizable, org.apache.tools.ant.types.selectors.ExtendFileSelector, org.apache.tools.ant.types.selectors.FileSelector

public class GeneratedFileSelector
extends org.apache.tools.ant.types.selectors.BaseExtendSelector

Selects all files that have been generated by JCMS and that can be safely deleted or ignored...

Version:
$Revision: 27753 $

Field Summary
static String REVISION
           
 
Fields inherited from class org.apache.tools.ant.types.selectors.BaseExtendSelector
parameters
 
Fields inherited from class org.apache.tools.ant.types.DataType
checked, ref
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
GeneratedFileSelector()
           
 
Method Summary
 boolean isSelected(File basedir, String filename, File file)
           
 void setParameters(org.apache.tools.ant.types.Parameter[] parameters)
           
 
Methods inherited from class org.apache.tools.ant.types.selectors.BaseExtendSelector
getParameters
 
Methods inherited from class org.apache.tools.ant.types.selectors.BaseSelector
getError, setError, validate, verifySettings
 
Methods inherited from class org.apache.tools.ant.types.DataType
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 org.apache.tools.ant.ProjectComponent
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

REVISION

public static final String REVISION
See Also:
Constant Field Values
Constructor Detail

GeneratedFileSelector

public GeneratedFileSelector()
Method Detail

setParameters

public void setParameters(org.apache.tools.ant.types.Parameter[] parameters)
Specified by:
setParameters in interface org.apache.tools.ant.types.Parameterizable
Overrides:
setParameters in class org.apache.tools.ant.types.selectors.BaseExtendSelector

isSelected

public boolean isSelected(File basedir,
                          String filename,
                          File file)
                   throws org.apache.tools.ant.BuildException
Specified by:
isSelected in interface org.apache.tools.ant.types.selectors.FileSelector
Specified by:
isSelected in class org.apache.tools.ant.types.selectors.BaseExtendSelector
Throws:
org.apache.tools.ant.BuildException


Copyright © 2001-2010 Jalios SA. All Rights Reserved.