Package org.sonar.iac.docker.tree.api
Interface HealthCheckInstruction
-
- All Superinterfaces:
DockerTree,HasTextRange,Instruction,Tree
- All Known Implementing Classes:
HealthCheckInstructionImpl
public interface HealthCheckInstruction extends Instruction
Interface to define the contract of the HEALTCHECK> instruction. It can either be provided with NONE keyword or aCmdInstruction. It can also have multipleFlag.HEALTCHECK
none()HEALTCHECKcmdInstruction()HEALTCHECKoptions()cmdInstruction()
-
-
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 CmdInstructioncmdInstruction()booleanisNone()SyntaxTokennone()List<Flag>options()-
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
-
Methods inherited from interface org.sonar.iac.docker.tree.api.Instruction
keyword
-
-
-
-
Method Detail
-
isNone
boolean isNone()
-
cmdInstruction
CmdInstruction cmdInstruction()
-
none
SyntaxToken none()
-
-