Class FileExists

    • Field Detail

      • m_Invert

        protected boolean m_Invert
        whether to invert the matching sense.
    • Constructor Detail

      • FileExists

        public FileExists()
    • Method Detail

      • setFile

        public void setFile​(PlaceholderFile value)
        Sets the file to look for.
        Parameters:
        value - the file
      • getFile

        public PlaceholderFile getFile()
        Returns the file currently to look for.
        Returns:
        the file
      • fileTipText

        public String fileTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • setInvert

        public void setInvert​(boolean value)
        Sets whether to invert the matching sense.
        Parameters:
        value - true if inverting matching sense
      • getInvert

        public boolean getInvert()
        Returns whether to invert the matching sense.
        Returns:
        true if matching sense is inverted
      • invertTipText

        public String invertTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • performTest

        protected String performTest()
        Performs the actual testing of the condition.
        Specified by:
        performTest in class AbstractTestCondition
        Returns:
        the test result, null if everything OK, otherwise the error message