Package org.openrewrite.docker.tree
Class Docker.File
java.lang.Object
org.openrewrite.docker.tree.Docker.File
- All Implemented Interfaces:
Docker,org.openrewrite.SourceFile,org.openrewrite.Tree
- Enclosing interface:
Docker
Root node representing a complete Dockerfile or Containerfile
-
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) <P> org.openrewrite.TreeVisitor<?, org.openrewrite.PrintOutputCapture<P>> printer(org.openrewrite.Cursor cursor) withCharset(Charset charset) 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.SourceFile
getChecksum, getFileAttributes, getSourcePath, getStyle, getStyle, getWeight, isCharsetBomMarked, printAll, printAll, printAll, printAllAsBytes, printAllAsBytes, printAllTrimmed, printAllTrimmed, printEqualsInput, service, withCharsetBomMarked, withChecksum, withFileAttributes, withSourcePathMethods inherited from interface org.openrewrite.Tree
cast, getId, getMarkers, isScope, print, print, print, printTrimmed, printTrimmed, printTrimmed, withId, withMarkers
-
Constructor Details
-
File
public File()
-
-
Method Details
-
getCharset
- Specified by:
getCharsetin interfaceorg.openrewrite.SourceFile
-
withCharset
- Specified by:
withCharsetin interfaceorg.openrewrite.SourceFile
-
acceptDocker
- Specified by:
acceptDockerin interfaceDocker
-
printer
public <P> org.openrewrite.TreeVisitor<?,org.openrewrite.PrintOutputCapture<P>> printer(org.openrewrite.Cursor cursor) - Specified by:
printerin interfaceorg.openrewrite.SourceFile- Specified by:
printerin interfaceorg.openrewrite.Tree
-