Class CommandProvider

    • Constructor Detail

      • CommandProvider

        public CommandProvider()
    • Method Detail

      • getCommands

        protected abstract String[] getCommands​(Logging log)
      • getAdditionalAddModulesOption

        protected String getAdditionalAddModulesOption​(String command)
        For usage printout this method should return a comma-separated list of modules that need to be added on the command line to get the command running.
        Parameters:
        command -
        Returns:
        Default: ""
      • getAdditionalModulePathOptionTemplate

        protected String getAdditionalModulePathOptionTemplate​(String command)
        For usage printout this method should return a path-delimiter-separated list of module paths that need to be added on the --module-path command line option to get the command running.
        Parameters:
        command -
        Returns:
        Default: ""
      • getAdditionalModulePathOptionExample

        protected String getAdditionalModulePathOptionExample​(String command)
        For usage printout this method should return a path-delimiter-separated list of module paths that need to be added on the --module-path command line option to get the command running.
        Parameters:
        command -
        Returns:
        Default: ""
      • getName

        public String getName()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object