| Package | Description |
|---|---|
| com.atlassian.bamboo.specs.api.builders |
The 'builders.*' packages contain classes you can use to define your Bamboo configuration as code, see also com.atlassian.bamboo.specs.builders.
|
| com.atlassian.bamboo.specs.api.builders.condition |
Task conditions.
|
| com.atlassian.bamboo.specs.api.builders.credentials |
Shared credentials for authenticating repositories or AWS access.
|
| com.atlassian.bamboo.specs.api.builders.deployment |
Deployment project and environments.
|
| com.atlassian.bamboo.specs.api.builders.deployment.configuration |
Items stored in environment custom plugins configuration.
|
| com.atlassian.bamboo.specs.api.builders.notification |
Bamboo notifications support.
|
| com.atlassian.bamboo.specs.api.builders.plan |
Plan, plan branches, stages and jobs.
|
| com.atlassian.bamboo.specs.api.builders.plan.artifact |
Artifact definitions and artifact subscriptions.
|
| com.atlassian.bamboo.specs.api.builders.plan.branches |
Automatic branch creation, integration and cleanup.
|
| com.atlassian.bamboo.specs.api.builders.plan.dependencies |
Plan dependencies (so that build of one plan may trigger builds of another plans).
|
| com.atlassian.bamboo.specs.api.builders.project |
Bamboo project (which is a container for plans).
|
| com.atlassian.bamboo.specs.api.builders.repository |
Generic plan-local and linked source code repositories as well as change detection settings, see also com.atlassian.bamboo.specs.builders.repository for specific repository types.
|
| com.atlassian.bamboo.specs.api.builders.repository.viewer |
Generic repository viewers, see also com.atlassian.bamboo.specs.builders.repository.viewer for specific viewers.
|
| com.atlassian.bamboo.specs.api.builders.task |
Generic classes, such as the
AnyTask class for handling tasks unsupported by Bamboo Specs. |
| com.atlassian.bamboo.specs.api.builders.trigger |
Build triggers.
|
| com.atlassian.bamboo.specs.api.model |
The 'model.*' packages contain internal data representation of various Bamboo entities, you usually won't use them directly.
|
| com.atlassian.bamboo.specs.api.model.credentials |
Shared credentials for authenticating repositories or AWS access.
|
| com.atlassian.bamboo.specs.api.model.notification |
Bamboo notifications support.
|
| com.atlassian.bamboo.specs.api.model.permission |
Immutable permissions like plan permissions properties, deployment permissions properties etc.
|
| com.atlassian.bamboo.specs.api.model.plan |
Plan, plan branches, stages and jobs.
|
| com.atlassian.bamboo.specs.api.model.plan.artifact |
Artifact definitions and artifact subscriptions.
|
| com.atlassian.bamboo.specs.api.model.plan.branches |
Automatic branch creation, integration and cleanup.
|
| com.atlassian.bamboo.specs.api.model.plan.dependencies |
Plan dependencies (so that build of one plan may trigger builds of another plans).
|
| com.atlassian.bamboo.specs.api.model.plan.requirement |
Custom requirements for a job.
|
| com.atlassian.bamboo.specs.api.model.project |
Bamboo project (which is a container for plans).
|
| com.atlassian.bamboo.specs.api.model.repository |
Generic plan-local and linked source code repositories as well as change detection settings.
|
| com.atlassian.bamboo.specs.api.model.repository.viewer |
Generic repository viewers.
|
| com.atlassian.bamboo.specs.api.model.task |
The AnyTask class for handling tasks unsupported by Bamboo Specs.
|
| com.atlassian.bamboo.specs.api.model.trigger |
Build triggers.
|
| com.atlassian.bamboo.specs.api.validators.common |
Common validators for strings, numbers, database constraints etc.
|
| Modifier and Type | Method and Description |
|---|---|
protected BambooKeyProperties |
BambooKey.build() |
protected BambooOidProperties |
BambooOid.build() |
| Constructor and Description |
|---|
BambooKey(String key)
Specify key of provided value.
|
BambooOid(String oid)
Specify an entity oid from its string value.
|
| Modifier and Type | Method and Description |
|---|---|
protected AnyConditionProperties |
AnyTaskCondition.build() |
| Constructor and Description |
|---|
AnyTaskCondition(AtlassianModule atlassianModule)
Specifies a condition of given type.
|
| Modifier and Type | Method and Description |
|---|---|
protected SharedCredentialsIdentifierProperties |
SharedCredentialsIdentifier.build() |
SharedCredentialsIdentifier |
SharedCredentialsIdentifier.name(String name)
Reference shared credential by name.
|
SharedCredentialsIdentifier |
SharedCredentialsIdentifier.oid(BambooOid oid)
Reference shared credential by oid.
|
AnySharedCredentials |
AnySharedCredentials.oid(BambooOid oid) |
B |
SharedCredentials.oid(BambooOid oid)
Set the credential's oid from oid string.
|
SharedCredentialsIdentifier |
SharedCredentialsIdentifier.oid(String oid)
Reference shared credential by oid.
|
AnySharedCredentials |
AnySharedCredentials.oid(String oid) |
B |
SharedCredentials.oid(String oid)
Set the credential's oid.
|
| Constructor and Description |
|---|
AnySharedCredentials(String name,
AtlassianModule atlassianPlugin)
Create a shared credential of given name and type.
|
SharedCredentials(String name) |
SharedCredentialsIdentifier(BambooOid oid)
Reference shared credential by oid.
|
SharedCredentialsIdentifier(String name)
Reference shared credential by name.
|
| Modifier and Type | Method and Description |
|---|---|
Deployment |
Deployment.name(String name)
Sets the deployment name.
|
Deployment |
Deployment.oid(BambooOid oid)
Sets the deployments's oid.
|
Deployment |
Deployment.oid(String oid)
Sets the deployments's oid.
|
| Constructor and Description |
|---|
AnyPluginConfiguration(AtlassianModule atlassianPlugin)
Specifies a configuration for a specified plugin.
|
| Constructor and Description |
|---|
AnyNotificationRecipient(AtlassianModule atlassianPlugin)
Specifies a notification recipient of a given type.
|
AnyNotificationType(AtlassianModule atlassianPlugin)
Specifies a notification condition of a given type.
|
| Modifier and Type | Method and Description |
|---|---|
Plan |
Plan.branchConfiguration(PlanBranchConfiguration planBranchConfiguration)
On a Specs plan branch, defines branch specific configuration.
|
protected StageProperties |
Stage.build() |
protected PlanProperties |
Plan.build() |
protected JobProperties |
Job.build() |
protected PlanBranchIdentifierProperties |
PlanBranchIdentifier.build() |
protected PlanIdentifierProperties |
PlanIdentifier.build() |
Plan |
Plan.dependencies(Dependencies dependencies)
Specifies configuration of dependencies support for this plan.
|
Stage |
Stage.description(String description)
Sets a stage description.
|
Plan |
Plan.description(String description)
Sets the plan's description.
|
Job |
Job.description(String description)
Sets the job's description.
|
Plan |
Plan.enabled(boolean enabled)
Enables/disables the plan.
|
Job |
Job.enabled(boolean enabled)
Enables/disables the job.
|
Stage |
Stage.finalStage(boolean isFinal)
Specifies if stage is a final stage.
|
Plan |
Plan.inProject(Project project)
Sets the project plan belongs to.
|
Plan |
Plan.key(BambooKey key)
Sets the plan's key.
|
Job |
Job.key(BambooKey key)
Sets the job's key.
|
PlanBranchIdentifier |
PlanBranchIdentifier.key(BambooKey key) |
PlanIdentifier |
PlanIdentifier.key(BambooKey key) |
Plan |
Plan.key(String key)
Sets the plan's key.
|
Job |
Job.key(String key)
Sets the job's key.
|
PlanBranchIdentifier |
PlanBranchIdentifier.key(String key) |
PlanIdentifier |
PlanIdentifier.key(String key) |
Stage |
Stage.manual(boolean isManual)
Specifies if stage is a manual stage.
|
Stage |
Stage.name(String name)
Sets a stage's name.
|
Plan |
Plan.name(String name)
Sets the plan name.
|
Job |
Job.name(String name)
Sets the job's name.
|
Plan |
Plan.oid(BambooOid oid)
Sets the plans's oid.
|
PlanBranchIdentifier |
PlanBranchIdentifier.oid(BambooOid oid) |
PlanIdentifier |
PlanIdentifier.oid(BambooOid oid) |
Plan |
Plan.oid(String oid)
Sets the plans's oid.
|
PlanBranchIdentifier |
PlanBranchIdentifier.oid(String oid) |
PlanIdentifier |
PlanIdentifier.oid(String oid) |
Plan |
Plan.planBranchManagement(PlanBranchManagement planBranchManagement)
Specifies plan branch management options for this plan.
|
PlanIdentifier |
PlanIdentifier.projectKey(BambooKey key) |
PlanIdentifier |
PlanIdentifier.projectKey(String key) |
| Constructor and Description |
|---|
Job(String name,
BambooKey key)
Specify job with given name and key.
|
Job(String name,
String key)
Specify job with given name and key.
|
Plan(Project project,
String name,
BambooKey key)
Specify plan with given project, name and key.
|
Plan(Project project,
String name,
String key)
Specify plan with given project, name and key.
|
PlanBranchIdentifier(BambooKey key) |
PlanBranchIdentifier(BambooOid oid) |
PlanIdentifier(BambooKey projectKey,
BambooKey planKey) |
PlanIdentifier(BambooOid oid) |
PlanIdentifier(String projectKey,
String planKey) |
Stage(String name)
Specify a stage with a given name.
|
| Modifier and Type | Method and Description |
|---|---|
protected ArtifactProperties |
Artifact.build() |
Artifact |
Artifact.copyPattern(String copyPattern)
Specify the pattern according to which Bamboo should copy files when creating an actual artifact.
|
ArtifactSubscription |
ArtifactSubscription.destination(String destination)
Sets artifact download destination.
|
Artifact |
Artifact.location(String location)
Specifies a path in which Bamboo should look for the files when creating an actual artifact.
|
Artifact |
Artifact.name(String name)
Sets an artifact name.
|
| Constructor and Description |
|---|
Artifact(String name)
Specify an artifact with given name.
|
| Modifier and Type | Method and Description |
|---|---|
PlanBranchConfiguration |
PlanBranchConfiguration.branchIntegration(BranchIntegration branchIntegration)
Sets merge strategy for this plan branch.
|
PlanBranchManagement |
PlanBranchManagement.branchIntegration(BranchIntegration branchIntegration)
Sets default merge strategy for new branches.
|
protected BranchIntegrationProperties |
BranchIntegration.build() |
protected BranchCleanupProperties |
BranchCleanup.build() |
protected PlanBranchManagementProperties |
PlanBranchManagement.build() |
PlanBranchManagement |
PlanBranchManagement.delete(BranchCleanup removedBranchCleanup)
Sets configuration of automatic removal of branches.
|
BranchIntegration |
BranchIntegration.enabled(boolean enabled)
Enables/disables automatic branch merging.
|
BranchIntegration |
BranchIntegration.gatekeeper(boolean gatekeeper)
Selects merging strategy.
|
BranchIntegration |
BranchIntegration.integrationBranch(PlanBranchIdentifier integrationBranch)
Sets integration branch identifier.
|
BranchIntegration |
BranchIntegration.integrationBranchKey(BambooKey integrationBranchKey)
Sets integration branch key.
|
BranchIntegration |
BranchIntegration.integrationBranchKey(String integrationBranchKey)
Sets integration branch key.
|
BranchIntegration |
BranchIntegration.integrationBranchOid(BambooOid integrationBranchOid)
Sets integration branch oid.
|
BranchIntegration |
BranchIntegration.integrationBranchOid(String integrationBranchOid)
Sets integration branch oid.
|
PlanBranchManagement |
PlanBranchManagement.issueLinkingEnabled(boolean issueLinkingEnabled)
Enables/disables automatic JIRA issue link creation when new branch is created.
|
BranchIntegration |
BranchIntegration.pushOnSuccessfulBuild(boolean push)
Enables/disables executing push on successful build.
|
BranchCleanup |
BranchCleanup.whenInactiveInRepository(boolean removeWhenInactiveInRepository)
Enables/disables plan branch removing when branch is inactive (no commits) in repository.
|
BranchCleanup |
BranchCleanup.whenInactiveInRepositoryAfterDays(int whenInactiveInRepositoryAfterDays)
Defines the time after which the branch should be removed in case of inactivity.
|
BranchCleanup |
BranchCleanup.whenRemovedFromRepository(boolean removeRemovedFromRepository)
Enables/disables plan branch removing when branch deleted in repository.
|
BranchCleanup |
BranchCleanup.whenRemovedFromRepositoryAfterDays(int whenRemovedFromRepositoryAfterDays)
Defines the time after which the branch should be removed.
|
| Modifier and Type | Method and Description |
|---|---|
DependenciesConfiguration |
DependenciesConfiguration.blockingStrategy(DependenciesConfiguration.DependencyBlockingStrategy blockingStrategy)
Selects dependency blocking strategy.
|
protected DependenciesConfigurationProperties |
DependenciesConfiguration.build() |
Dependencies |
EmptyDependenciesList.configuration(DependenciesConfiguration dependenciesConfiguration)
Deprecated.
|
Dependencies |
Dependencies.configuration(DependenciesConfiguration dependenciesConfiguration)
Sets dependencies configuration.
|
| Modifier and Type | Method and Description |
|---|---|
protected ProjectProperties |
Project.build() |
Project |
Project.description(String description)
Sets a project description.
|
Project |
Project.key(BambooKey key)
Sets a project key.
|
Project |
Project.key(String key)
Sets a project key.
|
Project |
Project.name(String name)
Sets a project name.
|
Project |
Project.oid(BambooOid oid)
Sets a project's oid.
|
Project |
Project.oid(String oid)
Sets a project's oid.
|
| Constructor and Description |
|---|
Project()
Specifies Bamboo project.
|
| Modifier and Type | Method and Description |
|---|---|
AnyVcsRepository |
AnyVcsRepository.branchConfiguration(Map<String,Object> branchConfiguration)
Sets branch part of the configuration.
|
AnyVcsRepository |
AnyVcsRepository.branchDetectionConfiguration(Map<String,Object> branchDetectionConfiguration)
Sets branch detection part of the configuration.
|
protected abstract E |
VcsRepository.build() |
protected VcsRepositoryIdentifierProperties |
VcsRepositoryIdentifier.build() |
protected VcsRepositoryBranchProperties |
VcsRepositoryBranch.build() |
protected VcsChangeDetectionProperties |
VcsChangeDetection.build() |
AnyVcsRepository |
AnyVcsRepository.changeDetectionConfiguration(VcsChangeDetection changeDetectionConfiguration)
Sets change detection part of the configuration.
|
VcsChangeDetection |
VcsChangeDetection.changesetFilterPatternRegex(String changesetFilterPatternRegex)
Excludes certain changes from being picked up by Bamboo.
|
T |
VcsRepository.description(String description)
Sets repository description.
|
VcsChangeDetection |
VcsChangeDetection.filterFilePatternOption(VcsChangeDetection.FileFilteringOption filterFilePatternOption)
Selects method of filtering commits by affected files.
|
VcsChangeDetection |
VcsChangeDetection.filterFilePatternRegex(String filterFilePatternRegex)
Sets regular expression to be used when filtering commits by affected files.
|
T |
VcsRepository.name(String name)
Sets the name by which repository will be identified by Bamboo.
|
VcsRepositoryIdentifier |
VcsRepositoryIdentifier.name(String name)
References repository by name.
|
T |
VcsRepository.oid(BambooOid oid)
Sets the repository's oid.
|
VcsRepositoryIdentifier |
VcsRepositoryIdentifier.oid(BambooOid oid)
References repository by oid.
|
T |
VcsRepository.oid(String oid)
Sets the repository's oid from string.
|
VcsRepositoryIdentifier |
VcsRepositoryIdentifier.oid(String oid)
References repository by oid.
|
T |
VcsRepository.parent(String parent)
Sets the parent of this repository should inherit data from.
|
T |
VcsRepository.repositoryViewer(VcsRepositoryViewer repositoryViewer)
Sets a web repository viewer to be used with this repository.
|
AnyVcsRepository |
AnyVcsRepository.serverConfiguration(Map<String,Object> serverConfiguration)
Sets server part of the configuration.
|
| Constructor and Description |
|---|
VcsRepository()
Specifies a new repository definition.
|
VcsRepositoryIdentifier() |
VcsRepositoryIdentifier(BambooOid oid)
References repository by oid.
|
VcsRepositoryIdentifier(String name)
References repository by name.
|
| Modifier and Type | Method and Description |
|---|---|
protected AnyVcsRepositoryViewerProperties |
AnyVcsRepositoryViewer.build() |
AnyVcsRepositoryViewer |
AnyVcsRepositoryViewer.configuration(Map<String,Object> configuration)
Set configuration for the repository viewer.
|
| Constructor and Description |
|---|
AnyVcsRepositoryViewer(AtlassianModule atlassianPlugin)
Specifies a repository viewer of given type.
|
AnyVcsRepositoryViewer(AtlassianModuleProperties atlassianPlugin)
Specifies a repository viewer of given type.
|
AnyVcsRepositoryViewer(String atlassianPlugin)
Specifies a repository viewer of given type.
|
| Modifier and Type | Method and Description |
|---|---|
protected AnyTaskProperties |
AnyTask.build() |
| Constructor and Description |
|---|
AnyTask(AtlassianModule atlassianPlugin)
Specifies a task of given type.
|
| Modifier and Type | Method and Description |
|---|---|
protected AnyTriggerProperties |
AnyTrigger.build() |
| Constructor and Description |
|---|
AnyTrigger(AnyTrigger other) |
AnyTrigger(AtlassianModule atlassianModule)
Specifies a trigger of given type.
|
| Constructor and Description |
|---|
AtlassianModuleProperties(String completeModuleKey) |
BambooKeyProperties(String key) |
BambooOidProperties(String oid) |
VariableProperties(String name,
String value,
boolean createOnly) |
| Constructor and Description |
|---|
SharedCredentialsIdentifierProperties(String name,
BambooOidProperties oid) |
SharedCredentialsProperties(String name,
BambooOidProperties oid) |
| Constructor and Description |
|---|
AnyNotificationRecipientProperties(AtlassianModuleProperties atlassianPlugin,
String recipientString) |
AnyNotificationRecipientProperties(AtlassianModuleProperties atlassianPlugin,
String recipientString,
EnumSet<Applicability> applicableTo) |
AnyNotificationTypeProperties(AtlassianModuleProperties atlassianPlugin,
String conditionString) |
AnyNotificationTypeProperties(AtlassianModuleProperties atlassianPlugin,
String conditionString,
EnumSet<Applicability> applicableTo) |
| Modifier and Type | Method and Description |
|---|---|
void |
PlanPermissionsProperties.validate() |
void |
GroupPermissionProperties.validate() |
void |
AnonymousUserPermissionsProperties.validate() |
void |
PermissionsProperties.validate() |
void |
LoggedInUserPermissionsProperties.validate() |
void |
DeploymentPermissionsProperties.validate() |
void |
EnvironmentPermissionsProperties.validate() |
void |
UserPermissionProperties.validate() |
| Constructor and Description |
|---|
AnonymousUserPermissionsProperties(Collection<PermissionType> permissionTypes) |
DeploymentPermissionsProperties(BambooOidProperties deploymentOid,
PermissionsProperties permissions) |
DeploymentPermissionsProperties(String deploymentName,
PermissionsProperties permissions) |
GroupPermissionProperties(String group,
Collection<PermissionType> permissionTypes) |
LoggedInUserPermissionsProperties(Collection<PermissionType> permissionTypes) |
PermissionsProperties(Collection<UserPermission> userPermissions,
Collection<GroupPermission> groupPermissions,
LoggedInUserPermissions loggedInUserPermissions,
AnonymousUserPermissions anonymousUserPermissions) |
PlanPermissionsProperties(PlanIdentifier planIdentifier,
Permissions permissions) |
UserPermissionProperties(String username,
Collection<PermissionType> permissionTypes) |
| Constructor and Description |
|---|
ArtifactProperties(String name,
String copyPattern,
String location,
boolean shared,
boolean required) |
| Constructor and Description |
|---|
BranchCleanupProperties(boolean removeDeletedFromRepository,
Duration removeDeletedFromRepositoryPeriod,
boolean removeInactiveInRepository,
Duration removeInactiveInRepositoryPeriod) |
BranchIntegrationProperties(boolean enabled,
PlanBranchIdentifierProperties integrationBranch,
boolean gatekeeper,
boolean pushOn) |
CreatePlanBranchesProperties(CreatePlanBranchesProperties.Trigger trigger,
String matchingPattern) |
PlanBranchManagementProperties(CreatePlanBranchesProperties createPlanBranch,
BranchCleanupProperties deletePlanBranch,
PlanBranchManagementProperties.TriggeringOption triggeringOption,
TriggerProperties defaultTrigger,
PlanBranchManagementProperties.NotificationStrategy notificationStrategy,
BranchIntegrationProperties branchIntegrationProperties,
boolean issueLinkingEnabled) |
| Constructor and Description |
|---|
DependenciesConfigurationProperties(boolean enabledForBranches,
boolean requireAllStagesPassing,
DependenciesConfiguration.DependencyBlockingStrategy blockingStrategy) |
| Modifier and Type | Method and Description |
|---|---|
void |
RequirementProperties.validate() |
| Constructor and Description |
|---|
ProjectProperties(BambooOidProperties oid,
BambooKeyProperties key,
String name,
String description) |
| Constructor and Description |
|---|
AnyVcsRepositoryProperties(AtlassianModuleProperties atlassianPlugin,
String name,
BambooOidProperties oid,
String description,
String parent,
Map<String,Object> serverConfiguration,
Map<String,Object> branchConfiguration,
VcsChangeDetectionProperties changeDetectionConfiguration,
Map<String,Object> branchDetectionConfiguration,
VcsRepositoryViewerProperties repositoryViewerProperties) |
VcsChangeDetectionProperties(boolean quietPeriodEnabled,
Duration quietPeriod,
int maxRetries,
boolean commitIsolationEnabled,
Map<String,Object> configuration,
String changesetFilterPatternRegex,
VcsChangeDetection.FileFilteringOption filterFilePatternOption,
String filterFilePatternRegex) |
VcsRepositoryIdentifierProperties(String name,
BambooOidProperties oid) |
VcsRepositoryProperties(String name,
BambooOidProperties oid,
String description,
String parent,
VcsRepositoryViewerProperties repositoryViewerProperties) |
| Constructor and Description |
|---|
AnyVcsRepositoryViewerProperties(AtlassianModuleProperties atlassianPlugin,
Map<String,Object> configuration) |
| Constructor and Description |
|---|
AnyTaskProperties(AtlassianModuleProperties atlassianPlugin,
String description,
boolean isEnabled,
Map<String,String> configuration,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
TaskProperties(String description,
boolean enabled,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
| Modifier and Type | Method and Description |
|---|---|
void |
TriggerProperties.validate() |
void |
RepositoryBasedTriggerProperties.validate() |
| Constructor and Description |
|---|
AnyTriggerProperties(AtlassianModuleProperties atlassianPlugin,
String name,
String description,
boolean isEnabled,
Map<String,String> configuration,
RepositoryBasedTrigger.TriggeringRepositoriesType triggeringRepositoriesType,
List<VcsRepositoryIdentifierProperties> selectedTriggeringRepositories) |
RepositoryBasedTriggerProperties(String name,
String description,
boolean isEnabled,
RepositoryBasedTrigger.TriggeringRepositoriesType triggeringRepositoriesType,
List<VcsRepositoryIdentifierProperties> selectedTriggeringRepositories) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ImporterUtils.checkNoErrors(List<ValidationProblem> errors) |
static void |
ImporterUtils.checkNoErrors(Optional<ValidationProblem> error) |
static String |
ImporterUtils.checkNotBlank(String argumentName,
String o)
Used to extra validate argument that shouldn't be blank.
|
static String |
ImporterUtils.checkNotBlank(ValidationContext validationContext,
String argumentName,
String o)
Used to extra validate argument that shouldn't be blank.
|
static String |
ImporterUtils.checkNotEmpty(String argumentName,
String s) |
static String |
ImporterUtils.checkNotEmpty(ValidationContext validationContext,
String argumentName,
String s) |
static void |
ImporterUtils.checkNotNegative(String argumentName,
int value)
Used during building properties to check that a number is a non-negative integer.
|
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(String argumentName,
T o)
Used to extra validate argument that shouldn't be null to throw our exception instead of NPE.
|
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(String argumentName,
int value)
Used during building properties to check that a number is a positive integer.
|
static void |
ImporterUtils.checkPositive(String argumentName,
long value)
Used during building properties to check that a number is a positive integer.
|
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(String message,
boolean condition) |
static void |
ImporterUtils.checkThat(ValidationContext validationContext,
boolean condition,
String messageFormat,
Object... messageArgs) |
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.