Uses of Class
com.atlassian.bamboo.specs.api.validators.common.ValidationProblem
Package
Description
Exceptions thrown by Bamboo Specs library.
The 'validators.*' packages contain data validators, you usually won't call them directly, unless writing own builders.
Common validators for strings, numbers, database constraints etc.
Validate permissions.
Validate plan and stage settings.
Validate configuration of plan branches.
Validate project settings.
Validate generic VCS settings.
-
Uses of ValidationProblem in com.atlassian.bamboo.specs.api.exceptions
ModifierConstructorDescriptionPropertiesValidationException
(@NotNull List<ValidationProblem> errors) PropertiesValidationException
(@NotNull List<ValidationProblem> errors, @Nullable Throwable cause) -
Uses of ValidationProblem in com.atlassian.bamboo.specs.api.validators
Modifier and TypeMethodDescriptionstatic List<ValidationProblem>
AtlassianModuleValidator.validate
(@NotNull AtlassianModuleProperties moduleProperties) static List<ValidationProblem>
BambooKeyValidator.validate
(@NotNull ValidationContext validationContext, @NotNull BambooKeyProperties keyProperties) static List<ValidationProblem>
BambooOidValidator.validate
(@NotNull BambooOidProperties oidProperties) static List<ValidationProblem>
SharedCredentialsValidator.validate
(@NotNull SharedCredentialsProperties sharedCredentialsProperties) static List<ValidationProblem>
VariableValidator.validate
(@NotNull VariableProperties variableProperties) static Optional<ValidationProblem>
LabelValidator.validateLabel
(@NotNull ValidationContext validationContext, @Nullable String label) static Optional<ValidationProblem>
LabelValidator.validateLabel
(@Nullable String label) static List<ValidationProblem>
VariableValidator.validateUniqueVariableNames
(List<VariableProperties> variables) -
Uses of ValidationProblem in com.atlassian.bamboo.specs.api.validators.common
Modifier and TypeMethodDescriptionstatic Optional<ValidationProblem>
DbConstraintUtils.checkLength
(@NotNull ValidationContext validationContext, @Nullable String input, int length, String errorMessage) static Optional<ValidationProblem>
ValidationUtils.validateBoolean
(@NotNull ValidationContext validationContext, @Nullable String value) static @NotNull List<ValidationProblem>
ValidationUtils.validateDescription
(@NotNull ValidationContext validationContext, @Nullable String description) static <E extends Enum<E>>
Optional<ValidationProblem>ValidationUtils.validateEnum
(@NotNull ValidationContext validationContext, @Nullable String value, @NotNull Class<E> enumClass) static Optional<ValidationProblem>
ValidationUtils.validateLong
(@NotNull ValidationContext validationContext, @Nullable String value) static @NotNull List<ValidationProblem>
ValidationUtils.validateName
(@NotNull ValidationContext validationContext, @Nullable String name) static @NotNull List<ValidationProblem>
ValidationUtils.validateName
(@NotNull ValidationContext validationContext, @Nullable String name, boolean required) static Optional<ValidationProblem>
ValidationUtils.validateNotContainsRelaxedXssRelatedCharacters
(@NotNull ValidationContext validationContext, @Nullable String value) static Optional<ValidationProblem>
ValidationUtils.validateNotContainsShellInjectionRelatedCharacters
(@NotNull ValidationContext validationContext, @Nullable String value) static Optional<ValidationProblem>
ValidationUtils.validateNotContainsXssRelatedCharacters
(@NotNull ValidationContext validationContext, @Nullable String value) static Optional<ValidationProblem>
ValidationUtils.validatePositive
(@NotNull ValidationContext validationContext, int value) static Optional<ValidationProblem>
ValidationUtils.validatePositive
(@NotNull ValidationContext validationContext, long value) static Optional<ValidationProblem>
ValidationUtils.validateRequired
(@NotNull ValidationContext validationContext, @Nullable Object value) static Optional<ValidationProblem>
ValidationUtils.validateRequiredBoolean
(@NotNull ValidationContext validationContext, @Nullable String value) static <E extends Enum<E>>
Optional<ValidationProblem>ValidationUtils.validateRequiredEnum
(@NotNull ValidationContext validationContext, @Nullable String value, @NotNull Class<E> enumClass) static Optional<ValidationProblem>
ValidationUtils.validateRequiredLong
(@NotNull ValidationContext validationContext, @Nullable String value) static Optional<ValidationProblem>
ValidationUtils.validateRequiredString
(@NotNull ValidationContext validationContext, @Nullable String value) static Optional<ValidationProblem>
ValidationUtils.validateRequiredString
(@NotNull ValidationContext validationContext, @Nullable String value, boolean requireNonBlank) static Optional<ValidationProblem>
ValidationUtils.validateUrl
(@NotNull ValidationContext validationContext, @Nullable String urlString, @NotNull Set<String> supportedSchemes) Modifier and TypeMethodDescriptionstatic void
ImporterUtils.checkNoErrors
(@NotNull List<ValidationProblem> errors) static void
ImporterUtils.checkNoErrors
(@NotNull Optional<ValidationProblem> error) -
Uses of ValidationProblem in com.atlassian.bamboo.specs.api.validators.permission
Modifier and TypeMethodDescriptionstatic List<ValidationProblem>
PermissionValidator.validatePermissions
(@NotNull PermissionsProperties permission, @NotNull PermissionValidator.PermissionTarget target) -
Uses of ValidationProblem in com.atlassian.bamboo.specs.api.validators.plan
Modifier and TypeMethodDescriptionstatic @NotNull List<ValidationProblem>
AbstractPlanValidator.validate
(@NotNull AbstractPlanProperties abstractPlanProperties) static @NotNull List<ValidationProblem>
JobValidator.validate
(@NotNull JobProperties jobProperties) static @NotNull List<ValidationProblem>
PlanValidator.validate
(@NotNull PlanProperties planProperties) static @NotNull List<ValidationProblem>
StageValidator.validate
(@NotNull StageProperties stageProperties) -
Uses of ValidationProblem in com.atlassian.bamboo.specs.api.validators.plan.branch
Modifier and TypeMethodDescriptionstatic @NotNull List<ValidationProblem>
BranchCleanupValidator.validate
(@NotNull BranchCleanupProperties moduleProperties) static @NotNull List<ValidationProblem>
BranchCreationValidator.validate
(@NotNull CreatePlanBranchesProperties branchCreationProperties) -
Uses of ValidationProblem in com.atlassian.bamboo.specs.api.validators.project
Modifier and TypeMethodDescriptionstatic @NotNull List<ValidationProblem>
ProjectValidator.validate
(@NotNull ProjectProperties projectProperties) -
Uses of ValidationProblem in com.atlassian.bamboo.specs.api.validators.repository
Modifier and TypeMethodDescriptionstatic List<ValidationProblem>
VcsChangeDetectionValidator.validate
(@NotNull VcsChangeDetectionProperties vcsChangeDetectionProperties) static List<ValidationProblem>
VcsRepositoryValidator.validate
(@NotNull VcsRepositoryProperties vcsRepositoryProperties)