Class IsFileSelected

    • Constructor Detail

      • IsFileSelected

        public IsFileSelected()
    • Method Detail

      • setFile

        public void setFile​( file)
        The file to check.
        file - the file to check if if passes the embedded selector.
      • setBaseDir

        public void setBaseDir​( baseDir)
        The base directory to use.
        baseDir - the base directory to use, if null use the project's basedir.
      • eval

        public boolean eval()
        Evaluate the selector with the file.
        Specified by:
        eval in interface Condition
        true if the file is selected by the embedded selector.