Class AbstractCommand<C extends Configuration<C>>

    • Constructor Detail

      • AbstractCommand

        public AbstractCommand()
    • Method Detail

      • execute

        public abstract int execute​(C configuration)
      • resolveCacheDirectory

        protected java.nio.file.Path resolveCacheDirectory​(C configuration)
      • resolveReportPath

        protected java.nio.file.Path resolveReportPath​(C configuration,
                                                       Format format)
      • resolveFormatter

        protected Formatter resolveFormatter​(Format format)
      • createRootNode

        protected Node createRootNode()
      • appendSubject

        protected Node appendSubject​(Node root,
                                     java.nio.file.Path jarPath,
                                     java.lang.String command,
                                     java.util.function.Consumer<Node> result)
      • writeOutput

        protected void writeOutput​(C configuration,
                                   java.lang.String content)
      • writeReport

        protected void writeReport​(C configuration,
                                   java.lang.String content,
                                   Format format)
      • $$

        protected java.lang.String $$​(java.lang.String key,
                                      java.lang.Object... args)
      • $b

        protected java.lang.String $b​(boolean val)
      • fileSize

        private long fileSize​(java.nio.file.Path jarPath)
      • sha256

        private java.lang.String sha256​(java.nio.file.Path jarPath)
      • createJarFileResolver

        protected JarFileResolver createJarFileResolver​(C configuration)