Uses of Class
com.atlassian.bamboo.specs.api.validators.common.ValidationContext
-
Packages that use ValidationContext Package Description com.atlassian.bamboo.specs.api.exceptions Exceptions thrown by Bamboo Specs library.com.atlassian.bamboo.specs.api.model.docker Properties classes for Docker configuration.com.atlassian.bamboo.specs.api.model.plan.artifact Artifact definitions and artifact subscriptions.com.atlassian.bamboo.specs.api.model.plan.configuration Items stored in plan configuration, including (but not limited to) items from 'Miscellaneous' page.com.atlassian.bamboo.specs.api.validators The 'validators.*' packages contain data validators, you usually won't call them directly, unless writing own builders.com.atlassian.bamboo.specs.api.validators.common Common validators for strings, numbers, database constraints etc.com.atlassian.bamboo.specs.model.notification Bamboo notifications support.com.atlassian.bamboo.specs.model.repository.bitbucket.server Bitbucket Server repository type.com.atlassian.bamboo.specs.model.task Tasks you can execute in a job.com.atlassian.bamboo.specs.model.task.docker Properties classes related to Docker CLI task. -
-
Uses of ValidationContext in com.atlassian.bamboo.specs.api.exceptions
Constructors in com.atlassian.bamboo.specs.api.exceptions with parameters of type ValidationContext Constructor Description PropertiesValidationException(@NotNull ValidationContext validationContext, @NotNull java.lang.String message)
-
Uses of ValidationContext in com.atlassian.bamboo.specs.api.model.docker
Fields in com.atlassian.bamboo.specs.api.model.docker declared as ValidationContext Modifier and Type Field Description static ValidationContext
DockerConfigurationProperties. VALIDATION_CONTEXT
-
Uses of ValidationContext in com.atlassian.bamboo.specs.api.model.plan.artifact
Fields in com.atlassian.bamboo.specs.api.model.plan.artifact declared as ValidationContext Modifier and Type Field Description static ValidationContext
ArtifactProperties. VALIDATION_CONTEXT
-
Uses of ValidationContext in com.atlassian.bamboo.specs.api.model.plan.configuration
Fields in com.atlassian.bamboo.specs.api.model.plan.configuration declared as ValidationContext Modifier and Type Field Description static ValidationContext
AllOtherPluginsConfigurationProperties. VALIDATION_CONTEXT
-
Uses of ValidationContext in com.atlassian.bamboo.specs.api.validators
Methods in com.atlassian.bamboo.specs.api.validators with parameters of type ValidationContext Modifier and Type Method Description static java.util.List<ValidationProblem>
BambooKeyValidator. validate(@NotNull ValidationContext validationContext, @NotNull BambooKeyProperties keyProperties)
static java.util.Optional<ValidationProblem>
LabelValidator. validateLabel(@NotNull ValidationContext validationContext, @Nullable java.lang.String label)
-
Uses of ValidationContext in com.atlassian.bamboo.specs.api.validators.common
Methods in com.atlassian.bamboo.specs.api.validators.common that return ValidationContext Modifier and Type Method Description static ValidationContext
ValidationContext. empty()
Returns an empty context.static ValidationContext
ValidationContext. of(@NotNull java.lang.String context)
Returns a single-element context.ValidationContext
ValidationContext. with(@NotNull java.lang.String context)
Returns new instance of validation context with thecontext
element appended to it.Methods in com.atlassian.bamboo.specs.api.validators.common with parameters of type ValidationContext Modifier and Type Method Description static void
ImporterUtils. checkArgument(@NotNull ValidationContext validationContext, boolean expression, java.lang.Object errorMessage)
static java.util.Optional<ValidationProblem>
DbConstraintUtils. checkLength(@NotNull ValidationContext validationContext, @Nullable java.lang.String input, int length, java.lang.String errorMessage)
static java.lang.String
ImporterUtils. checkNotBlank(@NotNull ValidationContext validationContext, @NotNull java.lang.String argumentName, @Nullable java.lang.String o)
Used to extra validate argument that shouldn't be blank.static java.lang.String
ImporterUtils. checkNotEmpty(@NotNull ValidationContext validationContext, @NotNull java.lang.String argumentName, @Nullable java.lang.String s)
static void
ImporterUtils. checkNotNegative(@NotNull ValidationContext validationContext, @NotNull java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.String propertyName, @Nullable java.lang.Object o)
Used during building properties object when some property is missing.static void
ImporterUtils. checkRequired(@NotNull ValidationContext validationContext, @Nullable java.lang.Object o)
Used during building properties object when some property is missing.static void
ImporterUtils. checkRequiredNotBlank(@NotNull ValidationContext validationContext, @Nullable java.lang.String s)
Used during building properties object when some property is missing.static void
ImporterUtils. checkThat(@NotNull ValidationContext validationContext, boolean condition, @NotNull java.lang.String messageFormat, @NotNull java.lang.Object... messageArgs)
static java.util.Optional<ValidationProblem>
ValidationUtils. validateBoolean(@NotNull ValidationContext validationContext, @Nullable java.lang.String value)
static @NotNull java.util.List<ValidationProblem>
ValidationUtils. validateDescription(@NotNull ValidationContext validationContext, @Nullable java.lang.String description)
static <E extends java.lang.Enum<E>>
java.util.Optional<ValidationProblem>ValidationUtils. validateEnum(@NotNull ValidationContext validationContext, @Nullable java.lang.String value, @NotNull java.lang.Class<E> enumClass)
static java.util.Optional<ValidationProblem>
ValidationUtils. validateLong(@NotNull ValidationContext validationContext, @Nullable java.lang.String value)
static @NotNull java.util.List<ValidationProblem>
ValidationUtils. validateName(@NotNull ValidationContext validationContext, @Nullable java.lang.String name)
static @NotNull java.util.List<ValidationProblem>
ValidationUtils. validateName(@NotNull ValidationContext validationContext, @Nullable java.lang.String name, boolean required)
static java.util.Optional<ValidationProblem>
ValidationUtils. validateNotContainsRelaxedXssRelatedCharacters(@NotNull ValidationContext validationContext, @Nullable java.lang.String value)
static java.util.Optional<ValidationProblem>
ValidationUtils. validateNotContainsShellInjectionRelatedCharacters(@NotNull ValidationContext validationContext, @Nullable java.lang.String value)
static java.util.Optional<ValidationProblem>
ValidationUtils. validateNotContainsXssRelatedCharacters(@NotNull ValidationContext validationContext, @Nullable java.lang.String value)
static java.util.Optional<ValidationProblem>
ValidationUtils. validatePositive(@NotNull ValidationContext validationContext, int value)
static java.util.Optional<ValidationProblem>
ValidationUtils. validatePositive(@NotNull ValidationContext validationContext, long value)
static java.util.Optional<ValidationProblem>
ValidationUtils. validateRequired(@NotNull ValidationContext validationContext, @Nullable java.lang.Object value)
static java.util.Optional<ValidationProblem>
ValidationUtils. validateRequiredBoolean(@NotNull ValidationContext validationContext, @Nullable java.lang.String value)
static <E extends java.lang.Enum<E>>
java.util.Optional<ValidationProblem>ValidationUtils. validateRequiredEnum(@NotNull ValidationContext validationContext, @Nullable java.lang.String value, @NotNull java.lang.Class<E> enumClass)
static java.util.Optional<ValidationProblem>
ValidationUtils. validateRequiredLong(@NotNull ValidationContext validationContext, @Nullable java.lang.String value)
static java.util.Optional<ValidationProblem>
ValidationUtils. validateRequiredString(@NotNull ValidationContext validationContext, @Nullable java.lang.String value)
static java.util.Optional<ValidationProblem>
ValidationUtils. validateRequiredString(@NotNull ValidationContext validationContext, @Nullable java.lang.String value, boolean requireNonBlank)
static java.util.Optional<ValidationProblem>
ValidationUtils. validateUrl(@NotNull ValidationContext validationContext, @Nullable java.lang.String urlString, @NotNull java.util.Set<java.lang.String> supportedSchemes)
Constructors in com.atlassian.bamboo.specs.api.validators.common with parameters of type ValidationContext Constructor Description ValidationProblem(ValidationContext validationContext, java.lang.String message)
ValidationProblem(ValidationContext validationContext, java.lang.String messageFmt, @Nullable java.lang.Object... args)
-
Uses of ValidationContext in com.atlassian.bamboo.specs.model.notification
Fields in com.atlassian.bamboo.specs.model.notification declared as ValidationContext Modifier and Type Field Description static ValidationContext
XFailedChainsNotificationProperties. VALIDATION_CONTEXT
-
Uses of ValidationContext in com.atlassian.bamboo.specs.model.repository.bitbucket.server
Fields in com.atlassian.bamboo.specs.model.repository.bitbucket.server declared as ValidationContext Modifier and Type Field Description static ValidationContext
BitbucketServerMirrorProperties. VALIDATION_CONTEXT
-
Uses of ValidationContext in com.atlassian.bamboo.specs.model.task
Fields in com.atlassian.bamboo.specs.model.task declared as ValidationContext Modifier and Type Field Description static ValidationContext
BowerTaskProperties. VALIDATION_CONTEXT
static ValidationContext
GruntTaskProperties. VALIDATION_CONTEXT
static ValidationContext
GulpTaskProperties. VALIDATION_CONTEXT
static ValidationContext
MochaParserTaskProperties. VALIDATION_CONTEXT
static ValidationContext
MochaRunnerTaskProperties. VALIDATION_CONTEXT
static ValidationContext
NodeTaskProperties. VALIDATION_CONTEXT
static ValidationContext
NodeunitTaskProperties. VALIDATION_CONTEXT
static ValidationContext
NpmTaskProperties. VALIDATION_CONTEXT
Methods in com.atlassian.bamboo.specs.model.task that return ValidationContext Modifier and Type Method Description protected 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
Fields in com.atlassian.bamboo.specs.model.task.docker declared as ValidationContext Modifier and Type Field Description static ValidationContext
DockerBuildImageTaskProperties. VALIDATION_CONTEXT
static ValidationContext
DockerRegistryTaskProperties. VALIDATION_CONTEXT
static ValidationContext
DockerRunContainerTaskProperties. VALIDATION_CONTEXT
-