| 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 |
|---|---|
static Object |
YamlEmitterImpl.readProperty(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> |
CleanWorkingDirectoryTaskExporter.toYaml(T taskProperties) |
<T extends com.atlassian.bamboo.specs.api.model.task.TaskProperties> |
ArtifactDownloaderTaskExporter.toYaml(T genericTaskProperties) |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.bamboo.specs.builders.task.CleanWorkingDirectoryTask |
CleanWorkingDirectoryTaskExporter.fromYaml(Node node,
TaskValidationContext context) |
com.atlassian.bamboo.specs.builders.task.ArtifactDownloaderTask |
ArtifactDownloaderTaskExporter.fromYaml(Node node,
TaskValidationContext context) |
| Modifier and Type | Method and Description |
|---|---|
Node |
BitbucketCloudImporterExporter.toYaml(com.atlassian.bamboo.specs.model.repository.bitbucket.cloud.BitbucketCloudRepositoryProperties repo) |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.bamboo.specs.builders.repository.bitbucket.cloud.BitbucketCloudRepository |
BitbucketCloudImporterExporter.fromYaml(String name,
Node node,
TaskValidationContext validationContext) |
| Modifier and Type | Method and Description |
|---|---|
<T extends com.atlassian.bamboo.specs.api.model.task.TaskProperties> |
CommandTaskExporter.toYaml(T genericTaskProperties) |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.bamboo.specs.builders.task.CommandTask |
CommandTaskExporter.fromYaml(Node node,
TaskValidationContext context) |
| Modifier and Type | Method and Description |
|---|---|
Node |
GitConfigurationExporter.toYaml(com.atlassian.bamboo.specs.model.repository.git.GitRepositoryProperties repo) |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.bamboo.specs.builders.repository.git.GitRepository |
GitConfigurationExporter.fromYaml(String name,
Node node,
TaskValidationContext validationContext) |
| Modifier and Type | Method and Description |
|---|---|
Node |
GitHubConfigurationExporter.toYaml(com.atlassian.bamboo.specs.model.repository.github.GitHubRepositoryProperties repo) |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.bamboo.specs.builders.repository.github.GitHubRepository |
GitHubConfigurationExporter.fromYaml(String name,
Node node,
TaskValidationContext validationContext) |
| Modifier and Type | Method and Description |
|---|---|
<T extends com.atlassian.bamboo.specs.api.model.task.TaskProperties> |
MavenTaskExporter.toYaml(T taskProperties) |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.bamboo.specs.builders.task.MavenTask |
MavenTaskExporter.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.trigger.TriggerProperties> |
BitbucketServerTriggerExporter.toYaml(T triggerProperties) |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.bamboo.specs.builders.trigger.BitbucketServerTrigger |
BitbucketServerTriggerExporter.fromYaml(Node node,
TaskValidationContext context) |
| Modifier and Type | Method and Description |
|---|---|
Node |
BitbucketServerExporter.toYaml(com.atlassian.bamboo.specs.model.repository.bitbucket.server.BitbucketServerRepositoryProperties repo) |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository |
BitbucketServerExporter.fromYaml(String name,
Node node,
TaskValidationContext validationContext) |
| 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.
|
Node |
DefaultTaskDefinitionExporter.toYaml(com.atlassian.bamboo.specs.api.model.task.TaskProperties taskProperties) |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.bamboo.specs.api.builders.task.AnyTask |
DefaultTaskDefinitionExporter.fromYaml(Node node,
TaskValidationContext context) |
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 <T extends com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties> |
TriggerDefinitionExporter.toYaml(T triggerProperties)
Convert trigger definition to YAML node.
|
| Modifier and Type | Method and Description |
|---|---|
default <T extends com.atlassian.bamboo.specs.api.builders.trigger.Trigger<T,P>,P extends com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties> |
TriggerDefinitionExporter.fromYaml(Node node,
TaskValidationContext context)
Parse YAML node to Trigger Specs builder.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties> |
TagTriggerDefinitionExporter.toYaml(T triggerProperties) |
<T extends com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties> |
AfterSuccessfulPlanTriggerExporter.toYaml(T triggerProperties) |
<T extends com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties> |
ScheduledTriggerDefinitionExporter.toYaml(T triggerProperties) |
<T extends com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties> |
AfterSuccessfulStageTriggerExporter.toYaml(T triggerProperties) |
<T extends com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties> |
RepositoryPollingTriggerDefinitionExporter.toYaml(T triggerProperties) |
<T extends com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties> |
AfterSuccessfulDeploymentTriggerExporter.toYaml(T triggerProperties) |
<T extends com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties> |
RemoteTriggerDefinitionExporter.toYaml(T triggerProperties) |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.bamboo.specs.builders.trigger.TagTrigger |
TagTriggerDefinitionExporter.fromYaml(Node node,
TaskValidationContext context) |
com.atlassian.bamboo.specs.builders.trigger.AfterSuccessfulBuildPlanTrigger |
AfterSuccessfulPlanTriggerExporter.fromYaml(Node node,
TaskValidationContext context) |
com.atlassian.bamboo.specs.api.builders.trigger.Trigger |
ScheduledTriggerDefinitionExporter.fromYaml(Node node,
TaskValidationContext context) |
com.atlassian.bamboo.specs.builders.trigger.AfterSuccessfulStageTrigger |
AfterSuccessfulStageTriggerExporter.fromYaml(Node node,
TaskValidationContext context) |
com.atlassian.bamboo.specs.builders.trigger.RepositoryPollingTrigger |
RepositoryPollingTriggerDefinitionExporter.fromYaml(Node node,
TaskValidationContext context) |
com.atlassian.bamboo.specs.builders.trigger.AfterSuccessfulDeploymentTrigger |
AfterSuccessfulDeploymentTriggerExporter.fromYaml(Node node,
TaskValidationContext context) |
com.atlassian.bamboo.specs.builders.trigger.RemoteTrigger |
RemoteTriggerDefinitionExporter.fromYaml(Node node,
TaskValidationContext context) |
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
DefaultVcsRepositoryDataExporter.toYaml(com.atlassian.bamboo.specs.api.model.repository.AnyVcsRepositoryProperties repo) |
default Node |
VcsRepositoryDataExporter.toYaml(P repositoryProperties) |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.bamboo.specs.api.builders.repository.AnyVcsRepository |
DefaultVcsRepositoryDataExporter.fromYaml(String name,
Node node,
TaskValidationContext validationContext) |
default B |
VcsRepositoryDataExporter.fromYaml(String name,
Node config,
TaskValidationContext validationContext) |
| Modifier and Type | Method and Description |
|---|---|
<T extends com.atlassian.bamboo.specs.api.model.task.TaskProperties> |
WarningsTaskExporter.toYaml(T taskProperties) |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.bamboo.specs.builders.task.BuildWarningParserTask |
WarningsTaskExporter.fromYaml(Node node,
TaskValidationContext context) |
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.