Class BaseExtendSelector

    • Field Detail

      • parameters

        protected Parameter[] parameters
        The passed in parameter array.
    • Constructor Detail

      • BaseExtendSelector

        public BaseExtendSelector()
    • Method Detail

      • setParameters

        public void setParameters​(Parameter... parameters)
        Set all the Parameters for this custom selector, collected by the ExtendSelector class.
        Specified by:
        setParameters in interface Parameterizable
        parameters - the complete set of parameters for this selector
      • getParameters

        protected Parameter[] getParameters()
        Allows access to the parameters gathered and set within the <custom> tag.
        the set of parameters defined for this selector
      • isSelected

        public abstract boolean isSelected​( basedir,
                                           java.lang.String filename,
                                    throws BuildException
        Method that each selector will implement to create their selection behaviour. If there is a problem with the setup of a selector, it can throw a BuildException to indicate the problem.
        Specified by:
        isSelected in interface FileSelector
        Specified by:
        isSelected in class BaseSelector
        basedir - A object for the base directory
        filename - The name of the file to check
        file - A File object for this filename
        whether the file should be selected or not
        BuildException - if an error occurs