Package com.atlassian.bamboo.specs.yaml
Class BooleanNode
- java.lang.Object
-
- com.atlassian.bamboo.specs.yaml.BaseNode
-
- com.atlassian.bamboo.specs.yaml.StringNode
-
- com.atlassian.bamboo.specs.yaml.BooleanNode
-
- All Implemented Interfaces:
Node
public class BooleanNode extends StringNode
-
-
Constructor Summary
Constructors Constructor Description BooleanNode(@NotNull Boolean value, @NotNull com.atlassian.bamboo.specs.api.validators.common.ValidationContext validationContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull Boolean
getAsBoolean()
@NotNull List<String>
getUnusedProperties()
Visits recursively the whole structure and returns list of unused properties.-
Methods inherited from class com.atlassian.bamboo.specs.yaml.StringNode
get
-
Methods inherited from class com.atlassian.bamboo.specs.yaml.BaseNode
getValidationContext, toString
-
-
-
-
Constructor Detail
-
BooleanNode
public BooleanNode(@NotNull @NotNull Boolean value, @NotNull @NotNull com.atlassian.bamboo.specs.api.validators.common.ValidationContext validationContext)
-
-
Method Detail
-
getAsBoolean
@NotNull public @NotNull Boolean getAsBoolean()
-
getUnusedProperties
@NotNull public @NotNull List<String> getUnusedProperties()
Description copied from interface:Node
Visits recursively the whole structure and returns list of unused properties. Children of unused properties are not reported.- Specified by:
getUnusedProperties
in interfaceNode
- Overrides:
getUnusedProperties
in classStringNode
-
-