Class Docker.Copy

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

public static class Docker.Copy extends Object implements Docker.Instruction
COPY instruction - copies files from source to destination
  • Constructor Details

    • Copy

      public Copy()
  • 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