Package | Description |
---|---|
com.atlassian.bamboo.deployments.configuration | |
com.atlassian.bamboo.specs.yaml | |
com.atlassian.bamboo.v2.build |
Modifier and Type | Method and Description |
---|---|
default com.atlassian.bamboo.specs.api.builders.deployment.configuration.EnvironmentPluginConfiguration |
CustomEnvironmentConfigPluginExporter.fromYaml(Node node)
Read configuration from YAML
Node . |
Modifier and Type | Class and Description |
---|---|
class |
ListNode<T extends Node>
Node containing a list of child nodes.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseNode |
class |
ListNode<T extends Node>
Node containing a list of child nodes.
|
class |
MapNode
Node representing a dictionary-like YAML structure.
|
class |
StringNode
Node containing single string value.
|
Modifier and Type | Method and Description |
---|---|
<X extends Node> |
ListNode.asListOf(Class<X> expectedType) |
static <T extends Node> |
BambooYamlParserUtils.checkListType(List<? extends Node> list,
Class<T> expectedType)
Check that all elements of the given list are of expected type.
|
static <T extends Node> |
BambooYamlParserUtils.checkType(Node node,
Class<T> expectedType)
Check that the given node is of expected type.
|
<T extends Node> |
MapNode.getList(String property,
Class<T> expectedType)
Get a property from a parsed YAML as a
List of a particular type. |
<T extends Node> |
MapNode.getOptionalList(String property,
Class<T> expectedType)
Get a property from a parsed YAML as a
List of a particular type, if the property is present. |
Modifier and Type | Method and Description |
---|---|
static Node |
BambooYamlParserUtils.asNode(Object obj,
com.atlassian.bamboo.specs.api.validators.common.ValidationContext validationContext)
Transforms object generated by snakeyaml into a
Node structure. |
Node |
MapNode.getNode(String property)
Get a property from a parsed YAML as a generic
Node . |
Modifier and Type | Method and Description |
---|---|
static ListNode<Node> |
ListNode.fromList(List<?> list,
com.atlassian.bamboo.specs.api.validators.common.ValidationContext validationContext) |
Optional<Node> |
MapNode.getOptionalNode(String property)
Get a property from a parsed YAML as a generic
Node if it's present. |
Modifier and Type | Method and Description |
---|---|
static <T extends Node> |
BambooYamlParserUtils.checkType(Node node,
Class<T> expectedType)
Check that the given node is of expected type.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Node> |
BambooYamlParserUtils.checkListType(List<? extends Node> list,
Class<T> expectedType)
Check that all elements of the given list are of expected type.
|
Modifier and Type | Method and Description |
---|---|
default T |
ImportExportAwarePlugin.fromYaml(Node node)
Import configuration of this plugin from YAML node to Bamboo Specs entity.
|
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.