Uses of Class
com.atlassian.bamboo.exception.YamlValidationException
-
-
Uses of YamlValidationException in com.atlassian.bamboo.configuration.external
Methods in com.atlassian.bamboo.configuration.external that throw YamlValidationException Modifier and Type Method Description @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
Methods in com.atlassian.bamboo.configuration.external.exporters that throw YamlValidationException Modifier and Type Method Description default @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
Methods in com.atlassian.bamboo.configuration.external.helpers that throw YamlValidationException Modifier and Type Method Description static <T extends com.atlassian.bamboo.specs.api.model.EntityProperties>
TYamlHelper. parse(@NotNull String yamlString, Class<T> entityClass)
static <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
Methods in com.atlassian.bamboo.credentials that throw YamlValidationException Modifier and Type Method Description @NotNull Map<String,String>
CredentialTypeExporter. toCredentialsConfiguration(@NotNull com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties entityProperties)
Converts properties object received from importer to Bamboo credentials configuration.Map<String,String>
SshCredentialTypeExporter. toCredentialsConfiguration(com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties entityProperties)
Map<String,String>
UsernamePasswordCredentialTypeExporter. toCredentialsConfiguration(com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties entityProperties)
-
Uses of YamlValidationException in com.atlassian.bamboo.validation
Methods in com.atlassian.bamboo.validation that throw YamlValidationException Modifier and Type Method Description static 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)
static @Nullable List<Map<String,Object>>
YamlValidatorHelper. ensureListOfMapsOfStringToObjectOrNull(@Nullable Object o)
static @Nullable List<?>
YamlValidatorHelper. ensureListOrNull(@Nullable Object o)
static @NotNull Map<String,Object>
YamlValidatorHelper. ensureMapOfStringToObject(@Nullable Object o)
static @Nullable Map<String,Object>
YamlValidatorHelper. ensureMapOfStringToObjectOrNull(@Nullable Object o)
static @Nullable Map<String,String>
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
Methods in com.atlassian.bamboo.vcs.viewer.fisheye that throw YamlValidationException Modifier and Type Method Description @NotNull Map<String,String>
FishEyeRepositoryViewerExporter. toViewerConfiguration(@NotNull com.atlassian.bamboo.specs.api.model.repository.viewer.VcsRepositoryViewerProperties entityProperties)
-
Uses of YamlValidationException in com.atlassian.bamboo.vcs.viewer.module
Methods in com.atlassian.bamboo.vcs.viewer.module that throw YamlValidationException Modifier and Type Method Description @NotNull Map<String,String>
VcsRepositoryViewerExporter. toViewerConfiguration(@NotNull com.atlassian.bamboo.specs.api.model.repository.viewer.VcsRepositoryViewerProperties entityProperties)
Converts data from importer to Bamboo repository viewer configuration.
-