Class AbstractPodmanCommand

    • Constructor Detail

      • AbstractPodmanCommand

        protected AbstractPodmanCommand​(org.apache.maven.plugin.logging.Log log,
                                        PodmanConfiguration podmanConfig,
                                        CommandExecutorDelegate delegate,
                                        String subCommand,
                                        boolean redirectError)
        Constructs a new instance of this AbstractPodmanCommand
        Parameters:
        log - The Maven log
        podmanConfig - The Podman configuration in use
        delegate - The executor delegate
        subCommand - The subcmmand to execute, i.e. build or push
        redirectError - Whether or not to redirect errors
    • Method Detail

      • withOption

        protected void withOption​(String option,
                                  String optionValue)
        Appends an option to this command
        Parameters:
        option - The option
        optionValue - The option value