Package org.sonar.iac.docker.tree.api
Interface Instruction
-
- All Superinterfaces:
DockerTree,HasTextRange,Tree
- All Known Subinterfaces:
AddInstruction,ArgInstruction,CmdInstruction,CommandInstruction,CopyInstruction,EntrypointInstruction,EnvInstruction,ExposeInstruction,FromInstruction,HealthCheckInstruction,LabelInstruction,MaintainerInstruction,OnBuildInstruction,RunInstruction,ShellInstruction,StopSignalInstruction,TransferInstruction,UserInstruction,VolumeInstruction,WorkdirInstruction
- All Known Implementing Classes:
AbstractCommandInstructionImpl,AbstractTransferInstructionImpl,AddInstructionImpl,ArgInstructionImpl,CmdInstructionImpl,CopyInstructionImpl,EntrypointInstructionImpl,EnvInstructionImpl,ExposeInstructionImpl,FromInstructionImpl,HealthCheckInstructionImpl,InstructionImpl,LabelInstructionImpl,MaintainerInstructionImpl,OnBuildInstructionImpl,RunInstructionImpl,ShellInstructionImpl,StopSignalInstructionImpl,UserInstructionImpl,VolumeInstructionImpl,WorkdirInstructionImpl
public interface Instruction extends DockerTree
Base interface for instruction in Dockerfile. It defines a method to provide the keyword of the related instruction.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.sonar.iac.docker.tree.api.DockerTree
DockerTree.Kind
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SyntaxTokenkeyword()-
Methods inherited from interface org.sonar.iac.docker.tree.api.DockerTree
getKind, is, parent, setParent
-
Methods inherited from interface org.sonar.iac.common.api.tree.HasTextRange
textRange
-
-
-
-
Method Detail
-
keyword
SyntaxToken keyword()
-
-