Class DockerCommand

    • Constructor Detail

      • DockerCommand

        protected DockerCommand​(String command)
    • Method Detail

      • getCommandOption

        public final String getCommandOption()
        Returns the docker sub-command string being used, e.g 'run'.
        Returns:
        the sub-command
      • addCommandArguments

        protected final void addCommandArguments​(String... arguments)
        Add command commandWithArguments. This method is only meant for use by sub-classes.
        Parameters:
        arguments - to be added
      • getCommandWithArguments

        public String getCommandWithArguments()
        Get the full command.
        Returns:
        the full command