Modifier and Type | Method and Description |
---|---|
Node |
ConcurrentBuildsPlanConfigurationPlugin.toYaml(com.atlassian.bamboo.specs.api.model.plan.configuration.ConcurrentBuildsProperties specsProperties) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.bamboo.specs.api.builders.plan.configuration.ConcurrentBuilds |
ConcurrentBuildsPlanConfigurationPlugin.fromYaml(Node node) |
Modifier and Type | Method and Description |
---|---|
default <T extends com.atlassian.bamboo.specs.api.builders.deployment.configuration.EnvironmentPluginConfiguration<P>,P extends com.atlassian.bamboo.specs.api.model.deployment.configuration.EnvironmentPluginConfigurationProperties> |
CustomEnvironmentConfigPluginExporter.toYaml(P specsProperties)
Convert configuration of this plugin from Bamboo Specs to YAML structure.
|
Modifier and Type | Method and Description |
---|---|
default <T extends com.atlassian.bamboo.specs.api.builders.deployment.configuration.EnvironmentPluginConfiguration<P>,P extends com.atlassian.bamboo.specs.api.model.deployment.configuration.EnvironmentPluginConfigurationProperties> |
CustomEnvironmentConfigPluginExporter.fromYaml(Node node)
Read configuration from YAML
Node . |
Modifier and Type | Method and Description |
---|---|
default Node |
NotificationRecipientExporter.toYaml(com.atlassian.bamboo.specs.api.model.notification.NotificationRecipientProperties recipient)
Produce YAML node and return
NotificationRecipient configuration. |
Modifier and Type | Method and Description |
---|---|
default com.atlassian.bamboo.specs.api.builders.notification.NotificationRecipient<?,?> |
NotificationRecipientExporter.fromYaml(Node recipientsNode)
Read YAML node and return
NotificationRecipient if found. |
Modifier and Type | Method and Description |
---|---|
<T extends com.atlassian.bamboo.specs.api.model.task.TaskProperties> |
ArtifactDownloaderTaskExporter.toYaml(T genericTaskProperties) |
<T extends com.atlassian.bamboo.specs.api.model.task.TaskProperties> |
CleanWorkingDirectoryTaskExporter.toYaml(T taskProperties) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.bamboo.specs.builders.task.ArtifactDownloaderTask |
ArtifactDownloaderTaskExporter.fromYaml(Node node,
TaskValidationContext context) |
com.atlassian.bamboo.specs.builders.task.CleanWorkingDirectoryTask |
CleanWorkingDirectoryTaskExporter.fromYaml(Node node,
TaskValidationContext context) |
Modifier and Type | Method and Description |
---|---|
<T extends com.atlassian.bamboo.specs.api.model.task.TaskProperties> |
ScriptTaskExporter.toYaml(T genericTaskProperties) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.bamboo.specs.builders.task.ScriptTask |
ScriptTaskExporter.fromYaml(Node node,
TaskValidationContext context) |
Modifier and Type | Method and Description |
---|---|
<T extends com.atlassian.bamboo.specs.api.model.task.TaskProperties> |
TestParserTaskExporter.toYaml(T genericTaskProperties) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.bamboo.specs.builders.task.TestParserTask |
TestParserTaskExporter.fromYaml(Node node,
TaskValidationContext context) |
Modifier and Type | Method and Description |
---|---|
<T extends com.atlassian.bamboo.specs.api.model.task.TaskProperties> |
InjectVariablesTaskExporter.toYaml(T genericTaskProperties) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.bamboo.specs.builders.task.InjectVariablesTask |
InjectVariablesTaskExporter.fromYaml(Node node,
TaskValidationContext context) |
Modifier and Type | Method and Description |
---|---|
Node |
VcsCheckoutTaskExporter.toYaml(com.atlassian.bamboo.specs.api.model.task.TaskProperties genericTaskProperties) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.bamboo.specs.builders.task.VcsCheckoutTask |
VcsCheckoutTaskExporter.fromYaml(Node node,
TaskValidationContext context) |
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 Node |
TaskCondition.toYaml(com.atlassian.bamboo.specs.api.model.plan.condition.ConditionProperties condition) |
Modifier and Type | Method and Description |
---|---|
default com.atlassian.bamboo.specs.api.builders.condition.TaskCondition |
TaskCondition.fromYaml(Node node,
TaskValidationContext validationContext)
Parse YAML representation of condition.
|
Modifier and Type | Method and Description |
---|---|
default <T extends com.atlassian.bamboo.specs.api.model.task.TaskProperties> |
TaskDefinitionExporter.toYaml(T taskProperties)
Convert task definition to YAML node.
|
Modifier and Type | Method and Description |
---|---|
default <T extends com.atlassian.bamboo.specs.api.builders.task.Task<T,P>,P extends com.atlassian.bamboo.specs.api.model.task.TaskProperties> |
TaskDefinitionExporter.fromYaml(Node node,
TaskValidationContext context)
Parse YAML node to Task Specs builder.
|
Modifier and Type | Method and Description |
---|---|
default Node |
ImportExportAwarePlugin.toYaml(P specsProperties)
Convert configuration of this plugin from Bamboo Specs to YAML structure.
|
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.