Package org.sonar.iac.docker.tree.impl
Class CopyTreeImpl
- java.lang.Object
-
- org.sonar.iac.docker.tree.impl.DockerTreeImpl
-
- org.sonar.iac.docker.tree.impl.InstructionTreeImpl
-
- org.sonar.iac.docker.tree.impl.TransferInstructionTreeImpl
-
- org.sonar.iac.docker.tree.impl.CopyTreeImpl
-
- All Implemented Interfaces:
HasTextRange,Tree,CommandInstructionTree,CopyTree,DockerTree,InstructionTree,TransferInstructionTree
public class CopyTreeImpl extends TransferInstructionTreeImpl implements CopyTree
-
-
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.TransferInstructionTreeImpl
options, srcsAndDest
-
Fields inherited from class org.sonar.iac.docker.tree.impl.InstructionTreeImpl
keyword
-
Fields inherited from class org.sonar.iac.docker.tree.impl.DockerTreeImpl
parent, textRange
-
-
Constructor Summary
Constructors Constructor Description CopyTreeImpl(SyntaxToken add, List<ParamTree> options, LiteralListTree srcsAndDest)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LiteralListTreearguments()This method always returns arguments passed to the instruction irrespective of the form (shell or exec).DockerTree.KindgetKind()-
Methods inherited from class org.sonar.iac.docker.tree.impl.TransferInstructionTreeImpl
children, dest, options, srcs
-
Methods inherited from class org.sonar.iac.docker.tree.impl.InstructionTreeImpl
keyword
-
Methods inherited from class org.sonar.iac.docker.tree.impl.DockerTreeImpl
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.InstructionTree
keyword
-
Methods inherited from interface org.sonar.iac.docker.tree.api.TransferInstructionTree
dest, options, srcs
-
-
-
-
Constructor Detail
-
CopyTreeImpl
public CopyTreeImpl(SyntaxToken add, List<ParamTree> options, LiteralListTree srcsAndDest)
-
-
Method Detail
-
getKind
public DockerTree.Kind getKind()
- Specified by:
getKindin interfaceDockerTree
-
arguments
public LiteralListTree arguments()
Description copied from interface:CommandInstructionTreeThis method always returns arguments passed to the instruction irrespective of the form (shell or exec). In most instructions it can be null- Specified by:
argumentsin interfaceCommandInstructionTree
-
-