Class Debug

    • Constructor Summary

      Constructors 
      Constructor Description
      Debug()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private io.github.classgraph.ResourceList filterResources​(io.github.classgraph.ScanResult scanResult)  
      static void main​(java.lang.String[] args)  
      int run()
      Runs the command and returns an exit code that the application should return
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • modules

        @Option(name={"-m","--modules"},
                title="ModuleName",
                description="Specifies one/more module(s) to scan.  If not specified scans all modules.")
        private java.util.List<java.lang.String> modules
      • pattern

        @Option(name={"-p","--pattern"},
                title="ResourcePattern",
                description="Specifies a pattern to filter the returned resources")
        private java.lang.String pattern
      • showModuleName

        @Option(name="--show-module-name",
                description="When set displays the Module name for each found resource")
        private boolean showModuleName
      • testOpen

        @Option(name="--test-open",
                description="When set tests whether each found resource can be successfully opened")
        private boolean testOpen
      • testPrint

        @Option(name="--test-print",
                description="When set implies --test-open and prints out the contents of the resources")
        private boolean testPrint
    • Constructor Detail

      • Debug

        public Debug()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
      • run

        public int run()
        Description copied from interface: ExampleRunnable
        Runs the command and returns an exit code that the application should return
        Specified by:
        run in interface ExampleRunnable
        Returns:
        Exit code
      • filterResources

        private io.github.classgraph.ResourceList filterResources​(io.github.classgraph.ScanResult scanResult)