| 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.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.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.
|
| com.atlassian.bamboo.specs.builders.repository.bitbucket.cloud |
Bitbucket Cloud repository type.
|
| com.atlassian.bamboo.specs.builders.repository.github |
GitHub repository type.
|
| com.atlassian.bamboo.specs.builders.repository.viewer |
Repository viewers, such as: FishEye, Bitbucket Server and Cloud or 'hg serve' service.
|
| com.atlassian.bamboo.specs.builders.trigger |
Build triggers.
|
| com.atlassian.bamboo.specs.codegen |
Conversion of
EntityProperties model into Java. |
| com.atlassian.bamboo.specs.model.credentials |
Shared credentials for user-password and SSH authentication.
|
| com.atlassian.bamboo.specs.model.repository.bitbucket.cloud |
Bitbucket Cloud repository type.
|
| com.atlassian.bamboo.specs.model.repository.bitbucket.server |
Bitbucket Server repository type.
|
| com.atlassian.bamboo.specs.model.repository.git |
Git repository type.
|
| com.atlassian.bamboo.specs.model.repository.github |
GitHub repository type.
|
| com.atlassian.bamboo.specs.model.repository.viewer |
Repository viewers.
|
| 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.
|
| com.atlassian.bamboo.specs.model.trigger |
Build triggers.
|
| com.atlassian.bamboo.specs.validators.common |
Common validators, such as: IP addresses.
|
| 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 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 |
|---|
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 |
|---|---|
protected PlanIdentifierProperties |
PlanIdentifier.build() |
protected PlanBranchIdentifierProperties |
PlanBranchIdentifier.build() |
protected PlanProperties |
Plan.build() |
protected JobProperties |
Job.build() |
protected StageProperties |
Stage.build() |
Plan |
Plan.dependencies(Dependencies dependencies)
Specifies configuration of dependencies support for this plan.
|
Plan |
Plan.description(String description)
Sets the plan's description.
|
Job |
Job.description(String description)
Sets the job's description.
|
Stage |
Stage.description(String description)
Sets a stage 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.
|
PlanIdentifier |
PlanIdentifier.key(BambooKey key) |
PlanBranchIdentifier |
PlanBranchIdentifier.key(BambooKey key) |
Plan |
Plan.key(BambooKey key)
Sets the plan's key.
|
Job |
Job.key(BambooKey key)
Sets the job's key.
|
PlanIdentifier |
PlanIdentifier.key(String key) |
PlanBranchIdentifier |
PlanBranchIdentifier.key(String key) |
Plan |
Plan.key(String key)
Sets the plan's key.
|
Job |
Job.key(String key)
Sets the job's key.
|
Stage |
Stage.manual(boolean isManual)
Specifies if stage is a manual stage.
|
Plan |
Plan.name(String name)
Sets the plan name.
|
Job |
Job.name(String name)
Sets the job's name.
|
Stage |
Stage.name(String name)
Sets a stage's name.
|
PlanIdentifier |
PlanIdentifier.oid(BambooOid oid) |
PlanBranchIdentifier |
PlanBranchIdentifier.oid(BambooOid oid) |
Plan |
Plan.oid(BambooOid oid)
Sets the plans's oid.
|
PlanIdentifier |
PlanIdentifier.oid(String oid) |
PlanBranchIdentifier |
PlanBranchIdentifier.oid(String oid) |
Plan |
Plan.oid(String oid)
Sets the plans's 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 |
|---|---|
PlanBranchManagement |
PlanBranchManagement.branchIntegration(BranchIntegration branchIntegration)
Sets default merge strategy for new branches.
|
protected BranchCleanupProperties |
BranchCleanup.build() |
protected PlanBranchManagementProperties |
PlanBranchManagement.build() |
protected BranchIntegrationProperties |
BranchIntegration.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 |
Dependencies.configuration(DependenciesConfiguration dependenciesConfiguration)
Sets dependencies configuration.
|
Dependencies |
EmptyDependenciesList.configuration(DependenciesConfiguration dependenciesConfiguration)
Deprecated.
|
| 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 VcsChangeDetectionProperties |
VcsChangeDetection.build() |
protected VcsRepositoryIdentifierProperties |
VcsRepositoryIdentifier.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 tasl 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) |
| 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 |
PermissionsProperties.validate() |
void |
UserPermissionProperties.validate() |
void |
EnvironmentPermissionsProperties.validate() |
void |
GroupPermissionProperties.validate() |
void |
DeploymentPermissionsProperties.validate() |
void |
LoggedInUserPermissionsProperties.validate() |
void |
PlanPermissionsProperties.validate() |
void |
AnonymousUserPermissionsProperties.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) |
| 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,
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) |
TaskProperties(String description,
boolean enabled) |
| Modifier and Type | Method and Description |
|---|---|
void |
RepositoryBasedTriggerProperties.validate() |
void |
TriggerProperties.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 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) |
| Modifier and Type | Method and Description |
|---|---|
protected BitbucketCloudRepositoryProperties |
BitbucketCloudRepository.build() |
| Constructor and Description |
|---|
BitbucketCloudRepository() |
| Modifier and Type | Method and Description |
|---|---|
protected GitHubRepositoryProperties |
GitHubRepository.build() |
| Modifier and Type | Method and Description |
|---|---|
protected VcsRepositoryViewerProperties |
GitHubRepositoryViewer.build() |
protected VcsRepositoryViewerProperties |
HgServeRepositoryViewer.build() |
protected VcsRepositoryViewerProperties |
BitbucketServerRepositoryViewer.build() |
protected VcsRepositoryViewerProperties |
BitbucketCloudRepositoryViewer.build() |
| Constructor and Description |
|---|
AfterSuccessfulBuildPlanTrigger() |
ScheduledDeploymentTrigger()
Creates trigger which will schedule a build basing on a cron expression.
|
ScheduledTrigger()
Creates trigger which will schedule a build basing on a cron expression.
|
| Modifier and Type | Method and Description |
|---|---|
BambooSpecsGenerator |
BambooSpecsGenerator.addEntity(String entityName,
EntityProperties entityProperties) |
| Constructor and Description |
|---|
BambooSpecsGenerator(EntityProperties entityProperties) |
| Constructor and Description |
|---|
SshCredentialsProperties(String name,
BambooOidProperties oid,
String key,
String passphrase) |
UsernamePasswordCredentialsProperties(String name,
BambooOidProperties oid,
String username,
String password) |
| Constructor and Description |
|---|
BitbucketCloudRepositoryProperties(String name,
BambooOidProperties oid,
String description,
String parent,
VcsRepositoryViewerProperties repositoryViewerProperties,
String repositorySlug,
AuthenticationProperties authenticationProperties,
AuthenticationProperties checkoutAuthenticationProperties,
String branch,
boolean useShallowClones,
boolean useRemoteAgentCache,
boolean useSubmodules,
Duration commandTimeout,
boolean verboseLogs,
boolean fetchWholeRepository,
boolean useLfs,
VcsChangeDetectionProperties vcsChangeDetection) |
| Constructor and Description |
|---|
BitbucketServerRepositoryProperties(String name,
BambooOidProperties oid,
String description,
String parent,
VcsRepositoryViewerProperties repositoryViewerProperties,
ApplicationLinkProperties server,
String projectKey,
String repositorySlug,
String sshPublicKey,
String sshPrivateKey,
String branch,
VcsChangeDetectionProperties vcsChangeDetection,
boolean useShallowClones,
boolean useRemoteAgentCache,
boolean useSubmodules,
Duration commandTimeout,
boolean verboseLogs,
boolean fetchWholeRepository,
boolean useLfs,
BitbucketServerMirrorProperties mirror) |
| Constructor and Description |
|---|
GitRepositoryProperties(String name,
BambooOidProperties oid,
String description,
String parent,
VcsRepositoryViewerProperties repositoryViewerProperties,
String url,
String branch,
AuthenticationProperties authenticationProperties,
VcsChangeDetectionProperties vcsChangeDetection,
boolean useShallowClones,
boolean useRemoteAgentCache,
boolean useSubmodules,
Duration commandTimeout,
boolean verboseLogs,
boolean fetchWholeRepository,
boolean useLfs) |
| Constructor and Description |
|---|
GitHubRepositoryProperties(String name,
BambooOidProperties oid,
String description,
String parent,
VcsRepositoryViewerProperties repositoryViewerProperties,
String repository,
String branch,
AuthenticationProperties authenticationProperties,
VcsChangeDetectionProperties vcsChangeDetection,
boolean useShallowClones,
boolean useRemoteAgentCache,
boolean useSubmodules,
Duration commandTimeout,
boolean verboseLogs,
boolean fetchWholeRepository,
boolean useLfs) |
| Constructor and Description |
|---|
FishEyeRepositoryViewerProperties(String fishEyeUrl,
String repositoryName,
String repositoryPath) |
GenericRepositoryViewerProperties(String viewerUrl,
String repositoryPath) |
| Modifier and Type | Method and Description |
|---|---|
void |
SshTaskProperties.validate() |
void |
BaseSshTaskProperties.validate() |
void |
ScriptTaskProperties.validate() |
void |
TestParserTaskProperties.validate() |
void |
ScpTaskProperties.validate() |
void |
CommandTaskProperties.validate() |
| Constructor and Description |
|---|
AntTaskProperties(String description,
boolean enabled,
String target,
String buildFile,
String environmentVariables,
String jdk,
String executableLabel,
boolean hasTests,
String testResultsDirectory,
String workingSubdirectory) |
ArtifactDownloaderTaskProperties(String description,
boolean enabled,
PlanIdentifierProperties sourcePlan,
List<DownloadItemProperties> artifacts) |
BaseNodeTaskProperties(String description,
boolean enabled,
String nodeExecutable,
String environmentVariables,
String workingSubdirectory) |
BaseSshTaskProperties(String description,
boolean enabled,
String host,
String username,
BaseSshTaskProperties.AuthenticationType authenticationType,
String password,
String key,
String passphrase,
String hostFingerprint,
int port) |
BowerTaskProperties(String description,
boolean enabled,
String nodeExecutable,
String environmentVariables,
String workingSubdirectory,
String bowerExecutable,
String command) |
CleanWorkingDirectoryTaskProperties(String description,
boolean enabled) |
CommandTaskProperties(String description,
boolean enabled,
String executable,
String argument,
String environmentVariables,
String workingSubdirectory) |
FastlaneTaskProperties(String description,
boolean enabled,
String lane,
String environmentVariables,
String executableLabel,
String workingSubdirectory) |
GruntTaskProperties(String description,
boolean enabled,
String nodeExecutable,
String environmentVariables,
String workingSubdirectory,
String gruntCliExecutable,
String task,
String gruntfile) |
GulpTaskProperties(String description,
boolean enabled,
String nodeExecutable,
String environmentVariables,
String workingSubdirectory,
String gulpExecutable,
String task,
String gulpfile) |
InjectVariablesTaskProperties(String description,
boolean enabled,
String path,
String namespace,
InjectVariablesScope scope) |
MavenDependenciesProcessorTaskProperties(String description,
boolean enabled,
String overrideProjectFile,
String workingSubdirectory,
String alternatePathForTheGlobalSettingsFile,
String alternatePathForTheUserSettingsFile,
String pathToMavenLocalRepository) |
MavenTaskProperties(String description,
boolean enabled,
String goal,
String projectFile,
String environmentVariables,
String jdk,
String executableLabel,
boolean hasTests,
MavenTask.TestDirectoryOption testDirectoryOption,
String testResultsDirectory,
String workingSubdirectory,
boolean useMavenReturnCode,
int version) |
MochaParserTaskProperties(String description,
boolean enabled,
String testFilePattern,
String workingSubdirectory,
boolean pickUpTestResultsCreatedOutsideOfThisBuild) |
MochaRunnerTaskProperties(String description,
boolean enabled,
String nodeExecutable,
String environmentVariables,
String workingSubdirectory,
String mochaExecutable,
String testFilesAndDirectories,
boolean parseTestResults,
String arguments) |
MsBuildTaskProperties(String description,
boolean enabled,
String executable,
String projectFile,
String options,
String environmentVariables,
String workingSubdirectory) |
NodeTaskProperties(String description,
boolean enabled,
String nodeExecutable,
String environmentVariables,
String workingSubdirectory,
String script,
String arguments) |
NodeunitTaskProperties(String description,
boolean enabled,
String nodeExecutable,
String environmentVariables,
String workingSubdirectory,
String nodeunitExecutable,
String testFilesAndDirectories,
String testResultsDirectory,
boolean parseTestResults,
String arguments) |
NpmTaskProperties(String description,
boolean enabled,
String nodeExecutable,
String environmentVariables,
String workingSubdirectory,
String command,
boolean useIsolatedCache) |
NUnitRunnerTaskProperties(String description,
boolean enabled,
String executable,
NUnitRunnerTask.NUnitVersion nUnitVersion,
String nUnitTestFiles,
String resultFilename,
List<String> testsToRun,
List<String> testCategoriesToInclude,
List<String> testCategoriesToExclude,
String commandLineOptions,
String environmentVariables) |
ScpTaskProperties(String description,
boolean enabled,
String host,
String username,
BaseSshTaskProperties.AuthenticationType authenticationType,
String password,
String key,
String passphrase,
String hostFingerprint,
int port,
ArtifactItemProperties artifactItem,
String localPath,
boolean localPathAntStyle,
String remotePath) |
ScriptTaskProperties(String description,
boolean enabled,
ScriptTaskProperties.Interpreter interpreter,
ScriptTaskProperties.Location location,
String body,
String path,
String argument,
String environmentVariables,
String workingSubdirectory) |
SshTaskProperties(String description,
boolean enabled,
String host,
String username,
BaseSshTaskProperties.AuthenticationType authenticationType,
String password,
String key,
String passphrase,
String hostFingerprint,
int port,
int keepAliveIntervalInSec,
String command) |
TestParserTaskProperties(TestParserTaskProperties.TestType testType,
String description,
boolean enabled,
Collection<String> resultDirectories,
Boolean pickUpTestResultsCreatedOutsideOfThisBuild) |
VcsCheckoutTaskProperties(String description,
boolean isEnabled,
List<CheckoutItemProperties> checkoutItems,
boolean cleanCheckout) |
| Constructor and Description |
|---|
AbstractDockerTaskProperties(String description,
boolean enabled,
String environmentVariables,
String workingSubdirectory) |
DockerBuildImageTaskProperties(String description,
boolean enabled,
String imageName,
DockerBuildImageTaskProperties.DockerfileContent dockerfileContent,
String dockerfile,
boolean useCache,
boolean saveAsFile,
String imageFileName,
String environmentVariables,
String workingSubdirectory) |
DockerRegistryTaskProperties(String description,
boolean enabled,
DockerRegistryTaskProperties.OperationType operationType,
String image,
DockerRegistryTaskProperties.RegistryType registryType,
String username,
String password,
String email,
String environmentVariables,
String workingSubdirectory) |
DockerRunContainerTaskProperties(String description,
boolean enabled,
String imageName,
boolean detachedContainer,
String containerName,
Map<Integer,Integer> portMappings,
boolean waitToStart,
String serviceURLPattern,
long serviceTimeout,
boolean linkToDetachedContainers,
String containerEnvironmentVariables,
String containerCommand,
String containerWorkingDirectory,
String additionalArguments,
Map<String,String> volumeMappings,
String environmentVariables,
String workingSubdirectory) |
| Modifier and Type | Method and Description |
|---|---|
void |
RemoteTriggerProperties.validate() |
void |
AfterSuccessfulStageTriggerProperties.validate() |
void |
AfterSuccessfulDeploymentTriggerProperties.validate() |
void |
ScheduledTriggerProperties.validate() |
| Constructor and Description |
|---|
AfterSuccessfulDeploymentTriggerProperties(String description,
boolean triggerEnabled,
String environment) |
AfterSuccessfulStageTriggerProperties(String description,
boolean triggerEnabled,
String stageName,
String releaseBranch) |
BitbucketServerTriggerProperties(String description,
boolean isEnabled,
RepositoryBasedTrigger.TriggeringRepositoriesType triggeringRepositoriesType,
List<VcsRepositoryIdentifierProperties> selectedTriggeringRepositories) |
ScheduledTriggerProperties(String description,
boolean isEnabled,
String cronExpression,
String artifactBranch,
ScheduledTriggerProperties.Container container) |
| Modifier and Type | Method and Description |
|---|---|
static void |
InternetAddressValidator.checkComaSeparatedIpAddressesOrCidrs(String ipAddressesOrCidrs) |
static void |
InternetAddressValidator.checkIpAddressOrCidr(String ipAddressOrCidr) |
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.