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.
|
Constructor and Description |
---|
PropertiesValidationException(ValidationContext validationContext,
String message) |
Modifier and Type | Field and Description |
---|---|
static ValidationContext |
DockerConfigurationProperties.VALIDATION_CONTEXT |
Modifier and Type | Field and Description |
---|---|
static ValidationContext |
ArtifactProperties.VALIDATION_CONTEXT |
Modifier and Type | Field and Description |
---|---|
static ValidationContext |
AllOtherPluginsConfigurationProperties.VALIDATION_CONTEXT |
Modifier and Type | Method and Description |
---|---|
static List<ValidationProblem> |
BambooKeyValidator.validate(ValidationContext validationContext,
BambooKeyProperties keyProperties) |
static Optional<ValidationProblem> |
LabelValidator.validateLabel(ValidationContext validationContext,
String label) |
Modifier and Type | Method and Description |
---|---|
static ValidationContext |
ValidationContext.empty()
Returns an empty context.
|
static ValidationContext |
ValidationContext.of(String context)
Returns a single-element context.
|
ValidationContext |
ValidationContext.with(String context)
Returns new instance of validation context with the
context element appended to it. |
Modifier and Type | Method and Description |
---|---|
static void |
ImporterUtils.checkArgument(ValidationContext validationContext,
boolean expression,
Object errorMessage) |
static Optional<ValidationProblem> |
DbConstraintUtils.checkLength(ValidationContext validationContext,
String input,
int length,
String errorMessage) |
static String |
ImporterUtils.checkNotBlank(ValidationContext validationContext,
String argumentName,
String o)
Used to extra validate argument that shouldn't be blank.
|
static String |
ImporterUtils.checkNotEmpty(ValidationContext validationContext,
String argumentName,
String s) |
static void |
ImporterUtils.checkNotNegative(ValidationContext validationContext,
String argumentName,
int value)
Used during building properties to check that a number is a non-negative integer.
|
static <T> T |
ImporterUtils.checkNotNull(ValidationContext validationContext,
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(ValidationContext validationContext,
AtlassianModuleProperties actual,
AtlassianModuleProperties expected) |
static void |
ImporterUtils.checkPositive(ValidationContext validationContext,
String argumentName,
int value)
Used during building properties to check that a number is a positive integer.
|
static void |
ImporterUtils.checkPositive(ValidationContext validationContext,
String argumentName,
long value)
Used during building properties to check that a number is a positive integer.
|
static void |
ImporterUtils.checkRequired(ValidationContext validationContext,
Object o)
Used during building properties object when some property is missing.
|
static void |
ImporterUtils.checkRequired(ValidationContext validationContext,
String propertyName,
Object o)
Used during building properties object when some property is missing.
|
static void |
ImporterUtils.checkRequiredNotBlank(ValidationContext validationContext,
String s)
Used during building properties object when some property is missing.
|
static void |
ImporterUtils.checkThat(ValidationContext validationContext,
boolean condition,
String messageFormat,
Object... messageArgs) |
static Optional<ValidationProblem> |
ValidationUtils.validateBoolean(ValidationContext validationContext,
String value) |
static List<ValidationProblem> |
ValidationUtils.validateDescription(ValidationContext validationContext,
String description) |
static <E extends Enum<E>> |
ValidationUtils.validateEnum(ValidationContext validationContext,
String value,
Class<E> enumClass) |
static Optional<ValidationProblem> |
ValidationUtils.validateLong(ValidationContext validationContext,
String value) |
static List<ValidationProblem> |
ValidationUtils.validateName(ValidationContext validationContext,
String name) |
static List<ValidationProblem> |
ValidationUtils.validateName(ValidationContext validationContext,
String name,
boolean required) |
static Optional<ValidationProblem> |
ValidationUtils.validateNotContainsRelaxedXssRelatedCharacters(ValidationContext validationContext,
String value) |
static Optional<ValidationProblem> |
ValidationUtils.validateNotContainsShellInjectionRelatedCharacters(ValidationContext validationContext,
String value) |
static Optional<ValidationProblem> |
ValidationUtils.validateNotContainsXssRelatedCharacters(ValidationContext validationContext,
String value) |
static Optional<ValidationProblem> |
ValidationUtils.validatePositive(ValidationContext validationContext,
int value) |
static Optional<ValidationProblem> |
ValidationUtils.validatePositive(ValidationContext validationContext,
long value) |
static Optional<ValidationProblem> |
ValidationUtils.validateRequired(ValidationContext validationContext,
Object value) |
static Optional<ValidationProblem> |
ValidationUtils.validateRequiredBoolean(ValidationContext validationContext,
String value) |
static <E extends Enum<E>> |
ValidationUtils.validateRequiredEnum(ValidationContext validationContext,
String value,
Class<E> enumClass) |
static Optional<ValidationProblem> |
ValidationUtils.validateRequiredLong(ValidationContext validationContext,
String value) |
static Optional<ValidationProblem> |
ValidationUtils.validateRequiredString(ValidationContext validationContext,
String value) |
static Optional<ValidationProblem> |
ValidationUtils.validateRequiredString(ValidationContext validationContext,
String value,
boolean requireNonBlank) |
static Optional<ValidationProblem> |
ValidationUtils.validateUrl(ValidationContext validationContext,
String urlString,
Set<String> supportedSchemes) |
Constructor and Description |
---|
ValidationProblem(ValidationContext validationContext,
String message) |
ValidationProblem(ValidationContext validationContext,
String messageFmt,
Object... args) |
Modifier and Type | Field and Description |
---|---|
static ValidationContext |
XFailedChainsNotificationProperties.VALIDATION_CONTEXT |
Modifier and Type | Field and Description |
---|---|
static ValidationContext |
BitbucketServerMirrorProperties.VALIDATION_CONTEXT |
Modifier and Type | Field and Description |
---|---|
static ValidationContext |
MochaParserTaskProperties.VALIDATION_CONTEXT |
static ValidationContext |
GruntTaskProperties.VALIDATION_CONTEXT |
static ValidationContext |
NodeTaskProperties.VALIDATION_CONTEXT |
static ValidationContext |
NpmTaskProperties.VALIDATION_CONTEXT |
static ValidationContext |
NodeunitTaskProperties.VALIDATION_CONTEXT |
static ValidationContext |
MochaRunnerTaskProperties.VALIDATION_CONTEXT |
static ValidationContext |
BowerTaskProperties.VALIDATION_CONTEXT |
static ValidationContext |
GulpTaskProperties.VALIDATION_CONTEXT |
Modifier and Type | Method and Description |
---|---|
protected ValidationContext |
GruntTaskProperties.getValidationContext() |
protected ValidationContext |
VcsCommitTaskProperties.getValidationContext() |
protected ValidationContext |
VcsTagTaskProperties.getValidationContext() |
protected ValidationContext |
NodeTaskProperties.getValidationContext() |
protected ValidationContext |
NpmTaskProperties.getValidationContext() |
protected ValidationContext |
VcsBranchTaskProperties.getValidationContext() |
protected ValidationContext |
NodeunitTaskProperties.getValidationContext() |
protected ValidationContext |
MochaRunnerTaskProperties.getValidationContext() |
protected ValidationContext |
BowerTaskProperties.getValidationContext() |
protected abstract ValidationContext |
BaseVcsTaskProperties.getValidationContext() |
protected ValidationContext |
GulpTaskProperties.getValidationContext() |
protected abstract ValidationContext |
BaseNodeTaskProperties.getValidationContext() |
protected ValidationContext |
VcsPushTaskProperties.getValidationContext() |
Modifier and Type | Field and Description |
---|---|
static ValidationContext |
DockerRegistryTaskProperties.VALIDATION_CONTEXT |
static ValidationContext |
DockerRunContainerTaskProperties.VALIDATION_CONTEXT |
static ValidationContext |
DockerBuildImageTaskProperties.VALIDATION_CONTEXT |
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.