Package com.atlassian.bamboo.specs.yaml
Class ListNode<T extends Node>
- java.lang.Object
-
- com.atlassian.bamboo.specs.yaml.BaseNode
-
- com.atlassian.bamboo.specs.yaml.ListNode<T>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <X extends Node>
@NotNull ListNode<X>asListOf(@NotNull Class<X> expectedType)
static @NotNull ListNode<Node>
fromList(@NotNull List<?> list, @NotNull com.atlassian.bamboo.specs.api.validators.common.ValidationContext validationContext)
@NotNull List<T>
getList()
@NotNull List<String>
getUnusedProperties()
Visits recursively the whole structure and returns list of unused properties.@NotNull Stream<T>
stream()
-
Methods inherited from class com.atlassian.bamboo.specs.yaml.BaseNode
getValidationContext, toString
-
-
-
-
Method Detail
-
fromList
@NotNull public static @NotNull ListNode<Node> fromList(@NotNull @NotNull List<?> list, @NotNull @NotNull com.atlassian.bamboo.specs.api.validators.common.ValidationContext validationContext)
-
asListOf
@NotNull public <X extends Node> @NotNull ListNode<X> asListOf(@NotNull @NotNull Class<X> expectedType)
-
-