Package org.openrewrite.docker.tree
Class Docker.Add
java.lang.Object
org.openrewrite.docker.tree.Docker.Add
- All Implemented Interfaces:
Docker,Docker.Instruction,org.openrewrite.Tree
- Enclosing interface:
Docker
ADD instruction - adds files from source to destination (can extract archives and fetch URLs)
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.openrewrite.docker.tree.Docker
Docker.Add, Docker.Arg, Docker.Argument, Docker.ArgumentContent, Docker.Cmd, Docker.CommandForm, Docker.Copy, Docker.CopyAddForm, Docker.CopyShellForm, Docker.Entrypoint, Docker.Env, Docker.EnvironmentVariable, Docker.ExecForm, Docker.Expose, Docker.File, Docker.Flag, Docker.From, Docker.Healthcheck, Docker.HeredocBody, Docker.HeredocForm, Docker.Instruction, Docker.Label, Docker.Literal, Docker.Maintainer, Docker.Onbuild, Docker.Port, Docker.Run, Docker.Shell, Docker.ShellForm, Docker.Stage, Docker.Stopsignal, Docker.User, Docker.Volume, Docker.Workdir -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<P> DockeracceptDocker(DockerVisitor<P> v, P p) @Nullable Docker.ExecFormReturns the form as an ExecForm, or null if this instruction uses a different form.@Nullable Docker.HeredocFormReturns the form as a HeredocForm, or null if this instruction uses a different form.@Nullable Docker.CopyShellFormReturns the form as a CopyShellForm, or null if this instruction uses a different form.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openrewrite.docker.tree.Docker
accept, getPrefix, isAcceptable, withPrefixMethods inherited from interface org.openrewrite.Tree
cast, getId, getMarkers, isScope, print, print, print, printer, printTrimmed, printTrimmed, printTrimmed, withId, withMarkers
-
Constructor Details
-
Add
public Add()
-
-
Method Details
-
getShellForm
Returns the form as a CopyShellForm, or null if this instruction uses a different form. -
getExecForm
Returns the form as an ExecForm, or null if this instruction uses a different form. -
getHeredoc
Returns the form as a HeredocForm, or null if this instruction uses a different form. -
acceptDocker
- Specified by:
acceptDockerin interfaceDocker
-