Class DirPluginScanner

    • Method Detail

      • isValidPluginFile

        public abstract boolean isValidPluginFile​(java.io.File file)
        Return true if the file is a valid plugin file for the scanner
      • getFileFilter

        public abstract java.io.FileFilter getFileFilter()
        Return the file filter
      • getVersionForFile

        protected abstract java.lang.String getVersionForFile​(java.io.File file)
        Return the version string for the plugin file, or null
      • scanForFile

        public final java.io.File scanForFile​(ProviderIdent ident)
                                       throws com.dtolabs.rundeck.core.plugins.PluginScannerException
        scan for matching file for the provider def
        Specified by:
        scanForFile in interface PluginScanner
        Throws:
        com.dtolabs.rundeck.core.plugins.PluginScannerException