Class SpecClassFileSelector

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
org.apache.tools.ant.types.selectors.BaseSelector
org.apache.tools.ant.types.selectors.BaseExtendSelector
org.spockframework.buildsupport.ant.SpecClassFileSelector
All Implemented Interfaces:
Cloneable, org.apache.tools.ant.types.Parameterizable, org.apache.tools.ant.types.resources.selectors.ResourceSelector, org.apache.tools.ant.types.selectors.ExtendFileSelector, org.apache.tools.ant.types.selectors.FileSelector

public class SpecClassFileSelector extends org.apache.tools.ant.types.selectors.BaseExtendSelector
Ant selector that selects class files containing Spock specifications.
  • Field Summary

    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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isSelected(File baseDir, String filename, File file)
     

    Methods inherited from class org.apache.tools.ant.types.selectors.BaseExtendSelector

    getParameters, setParameters

    Methods inherited from class org.apache.tools.ant.types.selectors.BaseSelector

    getError, setError, setError, validate, verifySettings

    Methods inherited from class org.apache.tools.ant.types.DataType

    checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, 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

    Methods inherited from interface org.apache.tools.ant.types.selectors.FileSelector

    isSelected
  • Constructor Details

    • SpecClassFileSelector

      public SpecClassFileSelector()
  • Method Details

    • isSelected

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