Modifier and Type | Method and 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 |
DeploymentImportServiceImpl.convertYamlToDeployment(@NotNull String yaml,
@NotNull RssPermissions rssPermissions) |
@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.permission.DeploymentPermissionsProperties |
DeploymentImportServiceImpl.convertYamlToDeploymentPermissions(String yaml) |
@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.EnvironmentPermissionsProperties |
DeploymentImportServiceImpl.convertYamlToEnvironmentPermissions(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.plan.PlanProperties |
PlanConfigImportServiceImpl.convertYamlToPlan(@NotNull 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.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 |
CredentialsExportServiceImpl.importCredentials(@NotNull com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties credentialProperties) |
@NotNull CredentialsData |
CredentialsExportService.importCredentials(@NotNull com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties credentialProperties)
Validates exported credential properties within Bamboo context (e.g.
|
@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 |
CredentialsExportServiceImpl.toEntityProperties(String yamlString) |
@NotNull com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties |
CredentialsExportService.toEntityProperties(String yamlString)
Converts data from a YAML document to credential export properties.
|
void |
DeploymentImportServiceImpl.validate(com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties deploymentProperties,
@NotNull RssPermissions rssPermissions) |
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 |
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.
|
Modifier and Type | Method and 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 |
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 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 com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties |
RepositoryExporterImpl.toEntityProperties(@NotNull String yaml) |
@NotNull com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties |
RepositoryExporter.toEntityProperties(@NotNull String yaml)
Generate
VcsRepositoryProperties from YAML string |
Modifier and Type | Method and Description |
---|---|
static <T extends com.atlassian.bamboo.specs.api.model.EntityProperties> |
YamlHelper.parse(@NotNull String yamlString,
Class<T> entityClass) |
static <T extends com.atlassian.bamboo.specs.api.model.EntityProperties> |
YamlHelper.parseAndNarrow(@NotNull String yamlString,
Class<T> entityClass) |
void |
TriggerDefinitionExportHelper.validateTriggerProperties(@NotNull com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties deploymentProperties,
@NotNull RssPermissions rssPermissions) |
Modifier and Type | Method and Description |
---|---|
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) |
@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.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
YamlValidatorHelper.ensureBoolean(@Nullable Object o) |
static @Nullable Boolean |
YamlValidatorHelper.ensureBooleanOrNull(@Nullable Object o) |
static <T extends Enum<T>> |
YamlValidatorHelper.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) |
Modifier and Type | Method and Description |
---|---|
@NotNull Map<String,String> |
FishEyeRepositoryViewerExporter.toViewerConfiguration(@NotNull com.atlassian.bamboo.specs.api.model.repository.viewer.VcsRepositoryViewerProperties entityProperties) |
Modifier and Type | Method and 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.
|
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.