Package org.sonar.iac.docker.tree.impl
Class BodyImpl
- java.lang.Object
-
- org.sonar.iac.docker.tree.impl.AbstractDockerTreeImpl
-
- org.sonar.iac.docker.tree.impl.BodyImpl
-
- All Implemented Interfaces:
HasTextRange,Tree,Body,DockerTree,HasScope
public class BodyImpl extends AbstractDockerTreeImpl implements Body
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.sonar.iac.docker.tree.api.DockerTree
DockerTree.Kind
-
-
Field Summary
-
Fields inherited from class org.sonar.iac.docker.tree.impl.AbstractDockerTreeImpl
parent, textRange
-
-
Constructor Summary
Constructors Constructor Description BodyImpl(List<ArgInstruction> globalArgs, List<DockerImage> dockerImages)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Tree>children()List<DockerImage>dockerImages()DockerTree.KindgetKind()List<ArgInstruction>globalArgs()Scopescope()voidsetScope(Scope scope)-
Methods inherited from class org.sonar.iac.docker.tree.impl.AbstractDockerTreeImpl
is, parent, setParent, textRange
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.sonar.iac.docker.tree.api.DockerTree
is, parent, setParent
-
Methods inherited from interface org.sonar.iac.common.api.tree.HasTextRange
textRange
-
-
-
-
Constructor Detail
-
BodyImpl
public BodyImpl(List<ArgInstruction> globalArgs, List<DockerImage> dockerImages)
-
-
Method Detail
-
globalArgs
public List<ArgInstruction> globalArgs()
- Specified by:
globalArgsin interfaceBody
-
dockerImages
public List<DockerImage> dockerImages()
- Specified by:
dockerImagesin interfaceBody
-
getKind
public DockerTree.Kind getKind()
- Specified by:
getKindin interfaceDockerTree
-
-