Uses of Class
com.atlassian.bamboo.exception.YamlValidationException
Package
Description
-
Uses of YamlValidationException in com.atlassian.bamboo.configuration.external
Modifier and TypeMethodDescription@NotNull com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties
RepositoryExportService.convertYamlRepository
(@NotNull String yaml) Converts data from a YAML file to credential export properties.@NotNull com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties
RepositoryExportServiceImpl.convertYamlRepository
(@NotNull String yaml) @NotNull com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties
DeploymentImportService.convertYamlToDeployment
(@NotNull String yaml, @NotNull RssPermissions rssPermissions) Converts data from a YAML document to deployment properties.@NotNull com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties
DeploymentImportServiceImpl.convertYamlToDeployment
(@NotNull String yaml, @NotNull RssPermissions rssPermissions) @NotNull com.atlassian.bamboo.specs.api.model.permission.DeploymentPermissionsProperties
DeploymentImportService.convertYamlToDeploymentPermissions
(String yaml) Converts data from a YAML document to deployment permissions properties.@NotNull com.atlassian.bamboo.specs.api.model.permission.DeploymentPermissionsProperties
DeploymentImportServiceImpl.convertYamlToDeploymentPermissions
(String yaml) @NotNull com.atlassian.bamboo.specs.api.model.permission.EnvironmentPermissionsProperties
DeploymentImportService.convertYamlToEnvironmentPermissions
(String yaml) Converts data from a YAML document to environment permissions properties.@NotNull com.atlassian.bamboo.specs.api.model.permission.EnvironmentPermissionsProperties
DeploymentImportServiceImpl.convertYamlToEnvironmentPermissions
(String yaml) @NotNull com.atlassian.bamboo.specs.api.model.plan.PlanProperties
PlanConfigImportService.convertYamlToPlan
(@NotNull String yaml) Converts data from a YAML document to top level plan properties.@NotNull com.atlassian.bamboo.specs.api.model.plan.PlanProperties
PlanConfigImportServiceImpl.convertYamlToPlan
(@NotNull String yaml) @NotNull com.atlassian.bamboo.specs.api.model.permission.PlanPermissionsProperties
PlanPermissionService.convertYamlToPlanPermission
(@NotNull String yaml) Converts data from a YAML document to plan permission properties.@NotNull com.atlassian.bamboo.specs.api.model.permission.PlanPermissionsProperties
PlanPermissionServiceImpl.convertYamlToPlanPermission
(@NotNull String yaml) @NotNull com.atlassian.bamboo.specs.api.model.project.ProjectProperties
ProjectImportService.convertYamlToProject
(@NotNull String yaml) Converts data from a YAML document to project properties.@NotNull com.atlassian.bamboo.specs.api.model.project.ProjectProperties
ProjectImportServiceImpl.convertYamlToProject
(@NotNull String yaml) @NotNull com.atlassian.bamboo.specs.api.model.permission.ProjectPermissionsProperties
ProjectImportService.convertYamlToProjectPermissions
(@NotNull String yaml) Converts data from a YAML document to project permissions properties.@NotNull com.atlassian.bamboo.specs.api.model.permission.ProjectPermissionsProperties
ProjectImportServiceImpl.convertYamlToProjectPermissions
(@NotNull String yaml) com.atlassian.bamboo.specs.api.model.plan.PlanProperties
SpecsConsumer.PlanPropertiesSupplier.get()
@NotNull CredentialsData
CredentialsExportService.importCredentials
(@NotNull com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties credentialProperties) Validates exported credential properties within Bamboo context (e.g.@NotNull CredentialsData
CredentialsExportServiceImpl.importCredentials
(@NotNull com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties credentialProperties) @NotNull Project
ProjectImportService.importProject
(@NotNull com.atlassian.bamboo.specs.api.model.project.ProjectProperties projectProperties, @Nullable com.atlassian.user.User user, @NotNull RssPermissions rssPermissions) Validates project properties within Bamboo context and imports the projects into the database.@NotNull com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties
CredentialsExportService.toEntityProperties
(String yamlString) Converts data from a YAML document to credential export properties.@NotNull com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties
CredentialsExportServiceImpl.toEntityProperties
(String yamlString) void
DeploymentImportService.validate
(com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties deploymentProperties, @NotNull RssPermissions rssPermissions) Validates exported deployment properties within Bamboo context (e.g.void
DeploymentImportServiceImpl.validate
(com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties deploymentProperties, @NotNull RssPermissions rssPermissions) void
PlanConfigImportService.validatePlanBranchProperties
(@NotNull com.atlassian.bamboo.specs.api.model.plan.PlanProperties planProperties, @NotNull RssPermissions rssPermissions, @NotNull VcsBranch importedBranch) This method performs validation of YAML types and of the properties without Bamboo context (e.g.void
PlanConfigImportService.validatePlanProperties
(@NotNull com.atlassian.bamboo.specs.api.model.plan.PlanProperties planProperties, @NotNull RssPermissions rssPermissions) This method performs validation of YAML types and of the properties without Bamboo context (e.g. -
Uses of YamlValidationException in com.atlassian.bamboo.configuration.external.exporters
Modifier and TypeMethodDescriptiondefault @NotNull PartialVcsRepositoryData
RepositoryExporter.importRepository
(@NotNull com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties repositoryProperties, @Nullable VcsRepositoryData existingData, boolean global, @NotNull VcsRepositoryContext repositoryContext) Transform repository properties to format used by Bamboo services.@NotNull PartialVcsRepositoryData
RepositoryExporter.importRepository
(@Nullable com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties repositoryProperties, @Nullable VcsRepositoryData existingData, @Nullable VcsRepositoryData parentData, boolean global, @Nullable com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryBranchProperties branchOverride, @NotNull VcsRepositoryContext repositoryContext) Transform repository properties to format used by Bamboo services.@NotNull PartialVcsRepositoryData
RepositoryExporterImpl.importRepository
(@NotNull com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties repositoryProperties, @Nullable VcsRepositoryData existingData, @Nullable VcsRepositoryData parentDataArg, boolean global, @Nullable com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryBranchProperties branchOverride, @NotNull VcsRepositoryContext repositoryContext) @NotNull com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties
RepositoryExporter.toEntityProperties
(@NotNull String yaml) GenerateVcsRepositoryProperties
from YAML string@NotNull com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties
RepositoryExporterImpl.toEntityProperties
(@NotNull String yaml) -
Uses of YamlValidationException in com.atlassian.bamboo.configuration.external.helpers
Modifier and TypeMethodDescriptionstatic <T extends com.atlassian.bamboo.specs.api.model.EntityProperties>
Tstatic <T extends com.atlassian.bamboo.specs.api.model.EntityProperties>
TYamlHelper.parseAndNarrow
(@NotNull String yamlString, Class<T> entityClass) void
TriggerDefinitionExportHelper.validateTriggerProperties
(@NotNull com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties deploymentProperties, @NotNull RssPermissions rssPermissions) -
Uses of YamlValidationException in com.atlassian.bamboo.credentials
Modifier and TypeMethodDescriptionCredentialTypeExporter.toCredentialsConfiguration
(@NotNull com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties entityProperties) Converts properties object received from importer to Bamboo credentials configuration.SshCredentialTypeExporter.toCredentialsConfiguration
(com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties entityProperties) UsernamePasswordCredentialTypeExporter.toCredentialsConfiguration
(com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties entityProperties) -
Uses of YamlValidationException in com.atlassian.bamboo.validation
Modifier and TypeMethodDescriptionstatic boolean
YamlValidatorHelper.ensureBoolean
(@Nullable Object o) static @Nullable Boolean
YamlValidatorHelper.ensureBooleanOrNull
(@Nullable Object o) static <T extends Enum<T>>
TYamlValidatorHelper.ensureConstantOfEnumOrNull
(@NotNull Class<T> enumClass, @Nullable Object o) static int
YamlValidatorHelper.ensureInteger
(@Nullable Object o) static @Nullable Integer
YamlValidatorHelper.ensureIntegerOrNull
(@Nullable Object o) YamlValidatorHelper.ensureListOfMapsOfStringToObjectOrNull
(@Nullable Object o) static @Nullable List<?>
YamlValidatorHelper.ensureListOrNull
(@Nullable Object o) YamlValidatorHelper.ensureMapOfStringToObject
(@Nullable Object o) YamlValidatorHelper.ensureMapOfStringToObjectOrNull
(@Nullable Object o) YamlValidatorHelper.ensureMapOfStringToStringOrNull
(@Nullable Object o) static @Nullable Map<?,
?> YamlValidatorHelper.ensureMapOrNull
(@Nullable Object o) static @NotNull String
YamlValidatorHelper.ensureString
(@Nullable Object o) static @Nullable String
YamlValidatorHelper.ensureStringOrNull
(@Nullable Object o) -
Uses of YamlValidationException in com.atlassian.bamboo.vcs.viewer.fisheye
Modifier and TypeMethodDescriptionFishEyeRepositoryViewerExporter.toViewerConfiguration
(@NotNull com.atlassian.bamboo.specs.api.model.repository.viewer.VcsRepositoryViewerProperties entityProperties) -
Uses of YamlValidationException in com.atlassian.bamboo.vcs.viewer.module
Modifier and TypeMethodDescriptionVcsRepositoryViewerExporter.toViewerConfiguration
(@NotNull com.atlassian.bamboo.specs.api.model.repository.viewer.VcsRepositoryViewerProperties entityProperties) Converts data from importer to Bamboo repository viewer configuration.