Class Docker.Literal

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

public static class Docker.Literal extends Object implements Docker.ArgumentContent
A literal text value, either plain (unquoted) or quoted (single/double quotes).
  • Constructor Details

    • Literal

      public Literal()
  • Method Details

    • isQuoted

      public boolean isQuoted()
      Returns true if this is a quoted string
    • acceptDocker

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