Package org.sonar.iac.common.yaml.object
Class BlockObject
java.lang.Object
org.sonar.iac.common.yaml.object.BlockObject
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal CheckContextfinal Stringfinal org.sonar.iac.common.yaml.object.YamlObject.Statusfinal MappingTree -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBlockObject(CheckContext ctx, MappingTree tree, String key, org.sonar.iac.common.yaml.object.YamlObject.Status status) -
Method Summary
Modifier and TypeMethodDescriptionstatic BlockObjectfromAbsent(CheckContext ctx, String key) static BlockObjectfromPresent(CheckContext ctx, YamlTree tree, String key) protected HasTextRange
-
Field Details
-
ctx
-
tree
-
key
-
status
public final org.sonar.iac.common.yaml.object.YamlObject.Status status
-
-
Constructor Details
-
BlockObject
protected BlockObject(CheckContext ctx, @Nullable MappingTree tree, String key, org.sonar.iac.common.yaml.object.YamlObject.Status status)
-
-
Method Details
-
toHighlight
-
fromPresent
-
fromAbsent
-
blocks
-
block
-
attribute
-
list
-
report
-