public interface BambooYamlValidator
Modifier and Type | Method and Description |
---|---|
void |
validateDeployment(BambooYamlDeploymentDefinition deploymentDefinition)
Validates an instance of
BambooYamlDeploymentDefinition . |
void |
validateDeploymentPermissions(BambooYamlDeploymentPermissionsDefinition deploymentPermissionsDefinition)
Validates an instance of
BambooYamlDeploymentPermissionsDefinition . |
void |
validatePlan(BambooYamlPlanDefinition planDefinition,
VcsRepositoryData repository)
Validates an instance of
BambooYamlPlanDefinition . |
void |
validatePlanPermissions(BambooYamlPlanPermissionsDefinition planPermissionsDefinition)
Validates an instance of
BambooYamlPlanPermissionsDefinition . |
void validatePlan(@NotNull BambooYamlPlanDefinition planDefinition, @NotNull VcsRepositoryData repository)
BambooYamlPlanDefinition
.planDefinition
- YAML document to validaterepository
- repository string the YAML documentYamlSpecsValidationException
- if the passed YAML document is invalid in any wayvoid validatePlanPermissions(@NotNull BambooYamlPlanPermissionsDefinition planPermissionsDefinition)
BambooYamlPlanPermissionsDefinition
.planPermissionsDefinition
- YAML document to validateYamlSpecsValidationException
- if the passed YAML document is invalid in any wayvoid validateDeployment(@NotNull BambooYamlDeploymentDefinition deploymentDefinition)
BambooYamlDeploymentDefinition
.deploymentDefinition
- YAML document to validateYamlSpecsValidationException
- if the passed YAML document is invalid in any wayvoid validateDeploymentPermissions(@NotNull BambooYamlDeploymentPermissionsDefinition deploymentPermissionsDefinition)
BambooYamlDeploymentPermissionsDefinition
.deploymentPermissionsDefinition
- YAML document to validateYamlSpecsValidationException
- if the passed YAML document is invalid in any wayCopyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.