Class Docker.Add

java.lang.Object
org.openrewrite.docker.tree.Docker.Add
All Implemented Interfaces:
Docker, Docker.Instruction, org.openrewrite.Tree
Enclosing interface:
Docker

public static class Docker.Add extends Object implements Docker.Instruction
ADD instruction - adds files from source to destination (can extract archives and fetch URLs)
  • Constructor Details

    • Add

      public Add()
  • Method Details

    • getShellForm

      public @Nullable Docker.CopyShellForm getShellForm()
      Returns the form as a CopyShellForm, or null if this instruction uses a different form.
    • getExecForm

      public @Nullable Docker.ExecForm getExecForm()
      Returns the form as an ExecForm, or null if this instruction uses a different form.
    • getHeredoc

      public @Nullable Docker.HeredocForm getHeredoc()
      Returns the form as a HeredocForm, or null if this instruction uses a different form.
    • acceptDocker

      public <P> Docker acceptDocker(DockerVisitor<P> v, P p)
      Specified by:
      acceptDocker in interface Docker