Uses of Class
com.atlassian.bamboo.specs.api.validators.common.ValidationContext
Package
Description
Exceptions thrown by Bamboo Specs library.
Properties classes for Docker configuration.
Artifact definitions and artifact subscriptions.
Items stored in plan configuration, including (but not limited to) items from 'Miscellaneous' page.
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.
Bamboo notifications support.
Bitbucket Server repository type.
Tasks you can execute in a job.
Properties classes related to Docker CLI task.
-
Uses of ValidationContext in com.atlassian.bamboo.specs.api.exceptions
ModifierConstructorDescriptionPropertiesValidationException
(@NotNull ValidationContext validationContext, @NotNull String message) -
Uses of ValidationContext in com.atlassian.bamboo.specs.api.model.docker
Modifier and TypeFieldDescriptionstatic final ValidationContext
DockerConfigurationProperties.VALIDATION_CONTEXT
-
Uses of ValidationContext in com.atlassian.bamboo.specs.api.model.plan.artifact
Modifier and TypeFieldDescriptionstatic final ValidationContext
ArtifactProperties.VALIDATION_CONTEXT
-
Uses of ValidationContext in com.atlassian.bamboo.specs.api.model.plan.configuration
Modifier and TypeFieldDescriptionstatic final ValidationContext
AllOtherPluginsConfigurationProperties.VALIDATION_CONTEXT
-
Uses of ValidationContext in com.atlassian.bamboo.specs.api.validators
Modifier and TypeMethodDescriptionstatic List<ValidationProblem>
BambooKeyValidator.validate
(@NotNull ValidationContext validationContext, @NotNull BambooKeyProperties keyProperties) static Optional<ValidationProblem>
LabelValidator.validateLabel
(@NotNull ValidationContext validationContext, @Nullable String label) -
Uses of ValidationContext in com.atlassian.bamboo.specs.api.validators.common
Modifier and TypeMethodDescriptionstatic ValidationContext
ValidationContext.empty()
Returns an empty context.static ValidationContext
Returns a single-element context.Returns new instance of validation context with thecontext
element appended to it.Modifier and TypeMethodDescriptionstatic void
ImporterUtils.checkArgument
(@NotNull ValidationContext validationContext, boolean expression, Object errorMessage) static Optional<ValidationProblem>
DbConstraintUtils.checkLength
(@NotNull ValidationContext validationContext, @Nullable String input, int length, String errorMessage) static String
ImporterUtils.checkNotBlank
(@NotNull ValidationContext validationContext, @NotNull String argumentName, @Nullable String o) Used to extra validate argument that shouldn't be blank.static String
ImporterUtils.checkNotEmpty
(@NotNull ValidationContext validationContext, @NotNull String argumentName, @Nullable String s) static void
ImporterUtils.checkNotNegative
(@NotNull ValidationContext validationContext, @NotNull String argumentName, int value) Used during building properties to check that a number is a non-negative integer.static <T> T
ImporterUtils.checkNotNull
(@NotNull ValidationContext validationContext, @NotNull String argumentName, T o) Used to extra validate argument that shouldn't be null to throw our exception instead of NPE.static void
ImporterUtils.checkPluginKey
(@NotNull ValidationContext validationContext, @NotNull AtlassianModuleProperties actual, @NotNull AtlassianModuleProperties expected) static void
ImporterUtils.checkPositive
(@NotNull ValidationContext validationContext, @NotNull String argumentName, int value) Used during building properties to check that a number is a positive integer.static void
ImporterUtils.checkPositive
(@NotNull ValidationContext validationContext, @NotNull String argumentName, long value) Used during building properties to check that a number is a positive integer.static void
ImporterUtils.checkRequired
(@NotNull ValidationContext validationContext, @NotNull String propertyName, @Nullable Object o) Used during building properties object when some property is missing.static void
ImporterUtils.checkRequired
(@NotNull ValidationContext validationContext, @Nullable Object o) Used during building properties object when some property is missing.static void
ImporterUtils.checkRequiredNotBlank
(@NotNull ValidationContext validationContext, @Nullable String s) Used during building properties object when some property is missing.static void
ImporterUtils.checkThat
(@NotNull ValidationContext validationContext, boolean condition, @NotNull String messageFormat, @NotNull Object... messageArgs) 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) ModifierConstructorDescriptionValidationProblem
(ValidationContext validationContext, String message) ValidationProblem
(ValidationContext validationContext, String messageFmt, @Nullable Object... args) -
Uses of ValidationContext in com.atlassian.bamboo.specs.model.notification
Modifier and TypeFieldDescriptionstatic final ValidationContext
XFailedChainsNotificationProperties.VALIDATION_CONTEXT
-
Uses of ValidationContext in com.atlassian.bamboo.specs.model.repository.bitbucket.server
Modifier and TypeFieldDescriptionstatic final ValidationContext
BitbucketServerMirrorProperties.VALIDATION_CONTEXT
-
Uses of ValidationContext in com.atlassian.bamboo.specs.model.task
Modifier and TypeFieldDescriptionstatic final ValidationContext
BowerTaskProperties.VALIDATION_CONTEXT
static final ValidationContext
GruntTaskProperties.VALIDATION_CONTEXT
static final ValidationContext
GulpTaskProperties.VALIDATION_CONTEXT
static final ValidationContext
MochaParserTaskProperties.VALIDATION_CONTEXT
static final ValidationContext
MochaRunnerTaskProperties.VALIDATION_CONTEXT
static final ValidationContext
NodeTaskProperties.VALIDATION_CONTEXT
static final ValidationContext
NodeunitTaskProperties.VALIDATION_CONTEXT
static final ValidationContext
NpmTaskProperties.VALIDATION_CONTEXT
Modifier and TypeMethodDescriptionprotected abstract ValidationContext
BaseNodeTaskProperties.getValidationContext()
protected abstract @NotNull ValidationContext
BaseVcsTaskProperties.getValidationContext()
protected ValidationContext
BowerTaskProperties.getValidationContext()
protected ValidationContext
GruntTaskProperties.getValidationContext()
protected ValidationContext
GulpTaskProperties.getValidationContext()
protected ValidationContext
MochaRunnerTaskProperties.getValidationContext()
protected ValidationContext
NodeTaskProperties.getValidationContext()
protected ValidationContext
NodeunitTaskProperties.getValidationContext()
protected ValidationContext
NpmTaskProperties.getValidationContext()
protected @NotNull ValidationContext
VcsBranchTaskProperties.getValidationContext()
protected @NotNull ValidationContext
VcsCommitTaskProperties.getValidationContext()
protected @NotNull ValidationContext
VcsPushTaskProperties.getValidationContext()
protected @NotNull ValidationContext
VcsTagTaskProperties.getValidationContext()
-
Uses of ValidationContext in com.atlassian.bamboo.specs.model.task.docker
Modifier and TypeFieldDescriptionstatic final ValidationContext
DockerBuildImageTaskProperties.VALIDATION_CONTEXT
static final ValidationContext
DockerRegistryTaskProperties.VALIDATION_CONTEXT
static final ValidationContext
DockerRunContainerTaskProperties.VALIDATION_CONTEXT