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.
|
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 BambooOidProperties |
BambooOid.build() |
protected BambooKeyProperties |
BambooKey.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.
|
B |
SharedCredentials.oid(BambooOid oid)
Set the credential's oid from oid string.
|
SharedCredentialsIdentifier |
SharedCredentialsIdentifier.oid(BambooOid oid)
Reference shared credential by oid.
|
AnySharedCredentials |
AnySharedCredentials.oid(BambooOid oid) |
B |
SharedCredentials.oid(String oid)
Set the credential's oid.
|
SharedCredentialsIdentifier |
SharedCredentialsIdentifier.oid(String oid)
Reference shared credential by oid.
|
AnySharedCredentials |
AnySharedCredentials.oid(String oid) |
SharedCredentialsIdentifier |
SharedCredentialsIdentifier.scope(SharedCredentialsScope scope)
Set scope for shared credentials.
|
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 PlanBranchIdentifierProperties |
PlanBranchIdentifier.build() |
protected PlanIdentifierProperties |
PlanIdentifier.build() |
protected PlanProperties |
Plan.build() |
protected StageProperties |
Stage.build() |
protected JobProperties |
Job.build() |
Plan |
Plan.dependencies(Dependencies dependencies)
Specifies configuration of dependencies support for this plan.
|
Plan |
Plan.description(String description)
Sets the plan's description.
|
Stage |
Stage.description(String description)
Sets a stage 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.
|
PlanBranchIdentifier |
PlanBranchIdentifier.key(BambooKey key) |
PlanIdentifier |
PlanIdentifier.key(BambooKey key) |
Plan |
Plan.key(BambooKey key)
Sets the plan's key.
|
Job |
Job.key(BambooKey key)
Sets the job's key.
|
PlanBranchIdentifier |
PlanBranchIdentifier.key(String key) |
PlanIdentifier |
PlanIdentifier.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.
|
Stage |
Stage.name(String name)
Sets a stage's name.
|
Job |
Job.name(String name)
Sets the job's name.
|
PlanBranchIdentifier |
PlanBranchIdentifier.oid(BambooOid oid) |
PlanIdentifier |
PlanIdentifier.oid(BambooOid oid) |
Plan |
Plan.oid(BambooOid oid)
Sets the plans's oid.
|
PlanBranchIdentifier |
PlanBranchIdentifier.oid(String oid) |
PlanIdentifier |
PlanIdentifier.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.
|
PlanBranchConfiguration |
PlanBranchConfiguration.branchIntegration(BranchIntegration branchIntegration)
Sets merge strategy for this plan branch.
|
protected PlanBranchManagementProperties |
PlanBranchManagement.build() |
protected BranchIntegrationProperties |
BranchIntegration.build() |
protected BranchCleanupProperties |
BranchCleanup.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 VcsRepositoryBranchProperties |
VcsRepositoryBranch.build() |
protected VcsChangeDetectionProperties |
VcsChangeDetection.build() |
protected abstract E |
VcsRepository.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 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,
SharedCredentialsScope scope) |
SharedCredentialsProperties(String name,
BambooOidProperties oid) |
SharedCredentialsProperties(String name,
BambooOidProperties oid,
ProjectProperties project) |
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 |
UserPermissionProperties.validate() |
void |
DeploymentPermissionsProperties.validate() |
void |
AnonymousUserPermissionsProperties.validate() |
void |
EnvironmentPermissionsProperties.validate() |
void |
PermissionsProperties.validate() |
void |
PlanPermissionsProperties.validate() |
void |
LoggedInUserPermissionsProperties.validate() |
void |
GroupPermissionProperties.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 |
RepositoryBasedTriggerProperties.validate() |
void |
TriggerProperties.validate() |
Constructor and Description |
---|
AnyTriggerProperties(AtlassianModuleProperties atlassianPlugin,
String name,
String description,
boolean isEnabled,
Set<TriggerConditionProperties> conditions,
Map<String,String> configuration,
RepositoryBasedTrigger.TriggeringRepositoriesType triggeringRepositoriesType,
List<VcsRepositoryIdentifierProperties> selectedTriggeringRepositories) |
RepositoryBasedTriggerProperties(String name,
String description,
boolean isEnabled,
Set<TriggerConditionProperties> conditions,
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) |
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 |
BitbucketCloudRepositoryViewer.build() |
protected VcsRepositoryViewerProperties |
GitHubRepositoryViewer.build() |
protected VcsRepositoryViewerProperties |
BitbucketServerRepositoryViewer.build() |
protected VcsRepositoryViewerProperties |
HgServeRepositoryViewer.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) |
SshCredentialsProperties(String name,
BambooOidProperties oid,
String key,
String passphrase,
ProjectProperties project) |
UsernamePasswordCredentialsProperties(String name,
BambooOidProperties oid,
String username,
String password) |
UsernamePasswordCredentialsProperties(String name,
BambooOidProperties oid,
String username,
String password,
ProjectProperties project) |
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 sshCloneUrl,
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,
String baseUrl) |
Constructor and Description |
---|
FishEyeRepositoryViewerProperties(String fishEyeUrl,
String repositoryName,
String repositoryPath) |
GenericRepositoryViewerProperties(String viewerUrl,
String repositoryPath) |
Modifier and Type | Method and Description |
---|---|
void |
TestParserTaskProperties.validate() |
void |
ScriptTaskProperties.validate() |
void |
SshTaskProperties.validate() |
void |
BaseSshTaskProperties.validate() |
void |
CommandTaskProperties.validate() |
void |
ScpTaskProperties.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,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
ArtifactDownloaderTaskProperties(String description,
boolean enabled,
PlanIdentifierProperties sourcePlan,
List<DownloadItemProperties> artifacts,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
BaseNodeTaskProperties(String description,
boolean enabled,
String nodeExecutable,
String environmentVariables,
String workingSubdirectory,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
BaseSshTaskProperties(String description,
boolean enabled,
String host,
String username,
BaseSshTaskProperties.AuthenticationType authenticationType,
String password,
String key,
String passphrase,
SharedCredentialsIdentifierProperties sharedCredentialsIdentifierProperties,
String hostFingerprint,
int port,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
BowerTaskProperties(String description,
boolean enabled,
String nodeExecutable,
String environmentVariables,
String workingSubdirectory,
String bowerExecutable,
String command,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
BuildWarningParserTaskProperties(String description,
boolean enabled,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions,
String parser,
String filePattern,
boolean associateWithRepository,
boolean defaultRepository,
VcsRepositoryIdentifierProperties repository,
boolean failBuild,
int failBuildThreshold,
BuildWarningParserTask.WarningSeverity failBuildSeverity) |
CleanWorkingDirectoryTaskProperties(String description,
boolean enabled,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
CommandTaskProperties(String description,
boolean enabled,
String executable,
String argument,
String environmentVariables,
String workingSubdirectory,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
FastlaneTaskProperties(String description,
boolean enabled,
String lane,
String environmentVariables,
String executableLabel,
String workingSubdirectory,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
GruntTaskProperties(String description,
boolean enabled,
String nodeExecutable,
String environmentVariables,
String workingSubdirectory,
String gruntCliExecutable,
String task,
String gruntfile,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
GulpTaskProperties(String description,
boolean enabled,
String nodeExecutable,
String environmentVariables,
String workingSubdirectory,
String gulpExecutable,
String task,
String gulpfile,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
InjectVariablesTaskProperties(String description,
boolean enabled,
String path,
String namespace,
InjectVariablesScope scope,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
MavenDependenciesProcessorTaskProperties(String description,
boolean enabled,
String overrideProjectFile,
String workingSubdirectory,
String alternatePathForTheGlobalSettingsFile,
String alternatePathForTheUserSettingsFile,
String pathToMavenLocalRepository,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
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,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
MochaParserTaskProperties(String description,
boolean enabled,
String testFilePattern,
String workingSubdirectory,
boolean pickUpTestResultsCreatedOutsideOfThisBuild,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
MochaRunnerTaskProperties(String description,
boolean enabled,
String nodeExecutable,
String environmentVariables,
String workingSubdirectory,
String mochaExecutable,
String testFilesAndDirectories,
boolean parseTestResults,
String arguments,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
MsBuildTaskProperties(String description,
boolean enabled,
String executable,
String projectFile,
String options,
String environmentVariables,
String workingSubdirectory,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
NodeTaskProperties(String description,
boolean enabled,
String nodeExecutable,
String environmentVariables,
String workingSubdirectory,
String script,
String arguments,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
NodeunitTaskProperties(String description,
boolean enabled,
String nodeExecutable,
String environmentVariables,
String workingSubdirectory,
String nodeunitExecutable,
String testFilesAndDirectories,
String testResultsDirectory,
boolean parseTestResults,
String arguments,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
NpmTaskProperties(String description,
boolean enabled,
String nodeExecutable,
String environmentVariables,
String workingSubdirectory,
String command,
boolean useIsolatedCache,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
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,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
ScpTaskProperties(String description,
boolean enabled,
String host,
String username,
BaseSshTaskProperties.AuthenticationType authenticationType,
String password,
String key,
String passphrase,
SharedCredentialsIdentifierProperties sharedCredentialsIdentifier,
String hostFingerprint,
int port,
ArtifactItemProperties artifactItem,
String localPath,
boolean localPathAntStyle,
String remotePath,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
ScriptTaskProperties(String description,
boolean enabled,
ScriptTaskProperties.Interpreter interpreter,
ScriptTaskProperties.Location location,
String body,
String path,
String argument,
String environmentVariables,
String workingSubdirectory,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
SshTaskProperties(String description,
boolean enabled,
String host,
String username,
BaseSshTaskProperties.AuthenticationType authenticationType,
String password,
String key,
String passphrase,
SharedCredentialsIdentifierProperties sharedCredentialsIdentifier,
String hostFingerprint,
int port,
int keepAliveIntervalInSec,
String command,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
TestParserTaskProperties(TestParserTaskProperties.TestType testType,
String description,
boolean enabled,
Collection<String> resultDirectories,
Boolean pickUpTestResultsCreatedOutsideOfThisBuild,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
VcsCheckoutTaskProperties(String description,
boolean isEnabled,
List<CheckoutItemProperties> checkoutItems,
boolean cleanCheckout,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
Constructor and Description |
---|
AbstractDockerTaskProperties(String description,
boolean enabled,
String environmentVariables,
String workingSubdirectory,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
DockerBuildImageTaskProperties(String description,
boolean enabled,
String imageName,
DockerBuildImageTaskProperties.DockerfileContent dockerfileContent,
String dockerfile,
boolean useCache,
boolean saveAsFile,
String imageFileName,
String additionalArguments,
String environmentVariables,
String workingSubdirectory,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
DockerRegistryTaskProperties(String description,
boolean enabled,
DockerRegistryTaskProperties.OperationType operationType,
String image,
DockerRegistryTaskProperties.RegistryType registryType,
String username,
String password,
String email,
String environmentVariables,
String workingSubdirectory,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions,
SharedCredentialsIdentifierProperties sharedCredentialsIdentifierProperties) |
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,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
Modifier and Type | Method and Description |
---|---|
void |
AfterSuccessfulDeploymentTriggerProperties.validate() |
void |
AfterSuccessfulStageTriggerProperties.validate() |
void |
TagTriggerProperties.validate() |
void |
ScheduledTriggerProperties.validate() |
void |
RemoteTriggerProperties.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,
Set<TriggerConditionProperties> conditions,
RepositoryBasedTrigger.TriggeringRepositoriesType triggeringRepositoriesType,
List<VcsRepositoryIdentifierProperties> selectedTriggeringRepositories) |
ScheduledTriggerProperties(String description,
boolean isEnabled,
Set<TriggerConditionProperties> conditions,
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 © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.