Package org.sonar.iac.docker.tree.impl
Class FromInstructionImpl
- java.lang.Object
-
- org.sonar.iac.docker.tree.impl.AbstractDockerTreeImpl
-
- org.sonar.iac.docker.tree.impl.InstructionImpl
-
- org.sonar.iac.docker.tree.impl.FromInstructionImpl
-
- All Implemented Interfaces:
HasTextRange,Tree,DockerTree,FromInstruction,Instruction
public class FromInstructionImpl extends InstructionImpl implements FromInstruction
-
-
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.InstructionImpl
keyword
-
Fields inherited from class org.sonar.iac.docker.tree.impl.AbstractDockerTreeImpl
parent, textRange
-
-
Constructor Summary
Constructors Constructor Description FromInstructionImpl(SyntaxToken keyword, Flag platform, Argument image, Alias alias)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Aliasalias()List<Tree>children()DockerTree.KindgetKind()Argumentimage()Flagplatform()-
Methods inherited from class org.sonar.iac.docker.tree.impl.InstructionImpl
keyword
-
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
-
Methods inherited from interface org.sonar.iac.docker.tree.api.Instruction
keyword
-
-
-
-
Constructor Detail
-
FromInstructionImpl
public FromInstructionImpl(SyntaxToken keyword, @Nullable Flag platform, Argument image, @Nullable Alias alias)
-
-
Method Detail
-
platform
@Nullable public Flag platform()
- Specified by:
platformin interfaceFromInstruction
-
image
public Argument image()
- Specified by:
imagein interfaceFromInstruction
-
alias
@Nullable public Alias alias()
- Specified by:
aliasin interfaceFromInstruction
-
getKind
public DockerTree.Kind getKind()
- Specified by:
getKindin interfaceDockerTree
-
-