Class DirExists

    • Field Detail

      • m_Invert

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

      • DirExists

        public DirExists()
    • Method Detail

      • setDirectory

        public void setDirectory​(PlaceholderDirectory value)
        Sets the file to look for.
        Parameters:
        value - the file
      • getDirectory

        public PlaceholderDirectory getDirectory()
        Returns the file currently to look for.
        Returns:
        the file
      • directoryTipText

        public String directoryTipText()
        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