| Modifier and Type | Field and Description |
|---|---|
protected List<TaskDefinition> |
DefaultBuildDefinition.taskDefinitions |
| Modifier and Type | Method and Description |
|---|---|
@NotNull TaskDefinition |
TaskDefinitionExportHelper.importTaskDefinition(long id,
@NotNull TaskContainer taskContainer,
@NotNull List<TaskDefinition> precedingTasks,
@NotNull com.atlassian.bamboo.specs.api.model.task.TaskProperties taskProperties,
@Nullable VcsBranch importedBranch,
boolean finalTask)
Import the task definition from its properties.
|
@NotNull TaskDefinition |
TaskDefinitionExportHelper.importTaskDefinition(long id,
@NotNull TaskContainer taskContainer,
@NotNull com.atlassian.bamboo.specs.api.model.task.TaskProperties taskProperties,
boolean finalTask)
Import the task definition from its properties.
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull com.atlassian.bamboo.specs.api.builders.task.Task |
TaskDefinitionExportHelper.toSpecsEntity(TaskContainer taskContainer,
TaskDefinition taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,String> |
CredentialsConfigFunctions.taskDefinitionToConfigMap(TaskDefinition taskDefinition) |
static ConfigurableSharedCredentialDepender |
CredentialsDependerFunctions.taskDefinitionToCredentialsDepender(TaskDefinition taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Set<Requirement> |
DeploymentTaskRequirementSupport.calculateRequirements(@NotNull TaskDefinition taskDefinition,
@NotNull Environment environment)
Populates the
RequirementSet needed based off of the TaskDefinition |
@NotNull List<PlanRepositoryDefinition> |
RepositoryAwareDeploymentTaskConfigurator.getPlanRepositoriesUsedByTask(@NotNull TaskDefinition taskDefinition,
@NotNull InternalEnvironment environment) |
default @NotNull List<RepositoryDefinition> |
RepositoryAwareDeploymentTaskConfigurator.getRepositoriesUsedByTask(@NotNull TaskDefinition taskDefinition,
@NotNull Environment environment)
Deprecated.
|
void |
RepositoryAwareDeploymentTaskConfigurator.handleRepositoryIdChanged(@NotNull TaskDefinition taskDefinition,
@NotNull Map<Long,Long> repositoryIdChanges)
Action taken if repository id changed, i.e.
|
| Modifier and Type | Method and Description |
|---|---|
protected @Nullable TaskDefinition |
ConfigureEnvironmentTasks.getTaskById(long id) |
| Modifier and Type | Field and Description |
|---|---|
protected TaskDefinition |
EditEnvironmentTask.taskDefinition |
| Modifier and Type | Method and Description |
|---|---|
TaskDefinition |
EditEnvironmentTask.getTaskDefinition() |
| Modifier and Type | Field and Description |
|---|---|
static javax.persistence.metamodel.ListAttribute<MutableEnvironmentImpl,TaskDefinition> |
MutableEnvironmentImpl_.taskDefinitions |
| Modifier and Type | Method and Description |
|---|---|
@NotNull TaskDefinition |
EnvironmentTaskServiceImpl.createTask(long environmentId,
@NotNull TaskModuleDescriptor taskDescriptor,
@Nullable String userDescription,
boolean isEnabled,
@NotNull List<TaskConditionConfig> conditions,
@NotNull Map<String,String> configuration) |
TaskDefinition |
EnvironmentTaskService.createTask(long environmentId,
@NotNull TaskModuleDescriptor taskDescriptor,
@Nullable String userDescription,
boolean isEnabled,
@NotNull List<TaskConditionConfig> conditions,
@NotNull Map<String,String> configuration)
Create a new task in the environment
|
@NotNull TaskDefinition |
EnvironmentTaskServiceImpl.createTask(long environmentId,
@NotNull TaskModuleDescriptor taskDescriptor,
@Nullable String userDescription,
boolean isEnabled,
@NotNull Map<String,String> configuration) |
TaskDefinition |
EnvironmentTaskService.createTask(long environmentId,
@NotNull TaskModuleDescriptor taskDescriptor,
@Nullable String userDescription,
boolean isEnabled,
@NotNull Map<String,String> configuration)
Create a new task in the environment
|
TaskDefinition |
EnvironmentTaskServiceImpl.editTask(long environmentId,
long taskId,
String userDescription,
boolean isEnabled,
@NotNull List<TaskConditionConfig> conditions,
Map<String,String> taskConfigurationMap) |
TaskDefinition |
EnvironmentTaskService.editTask(long environmentId,
long taskId,
String userDescription,
boolean isEnabled,
@NotNull List<TaskConditionConfig> conditions,
Map<String,String> taskConfigurationMap)
Edit an existing task in the environment
|
TaskDefinition |
EnvironmentTaskServiceImpl.editTask(long environmentId,
long taskId,
String userDescription,
boolean isEnabled,
Map<String,String> taskConfigurationMap) |
TaskDefinition |
EnvironmentTaskService.editTask(long environmentId,
long taskId,
String userDescription,
boolean isEnabled,
Map<String,String> taskConfigurationMap)
Edit an existing task in the environment
|
protected @Nullable TaskDefinition |
EnvironmentTaskServiceImpl.getTaskById(@NotNull List<TaskDefinition> tasks,
long id) |
| Modifier and Type | Method and Description |
|---|---|
Supplier<Set<Requirement>> |
EnvironmentTaskRequirementsHelperImpl.getEnvironmentRequirementsSupplier(@NotNull Environment environment,
@NotNull TaskDefinition taskDefinition) |
@NotNull Supplier<Set<Requirement>> |
EnvironmentTaskRequirementsHelper.getEnvironmentRequirementsSupplier(@NotNull Environment environment,
@NotNull TaskDefinition taskDefinition)
Calculates requirements for a task definition that is part of a job.
|
| Constructor and Description |
|---|
TaskBuildStartedAnalyticsEvent(@NotNull TaskDefinition taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
static @NotNull List<TaskDefinition> |
TaskConfigurationUtils.addTaskToList(@NotNull List<TaskDefinition> originalTasks,
@NotNull TaskDefinition toAdd) |
static @NotNull List<TaskDefinition> |
TaskConfigurationUtils.getNewTaskList(@NotNull List<TaskDefinition> originalTasks,
@NotNull TaskDefinition toMove,
long beforeId,
long afterId,
boolean isFinal) |
| Modifier and Type | Method and Description |
|---|---|
static String |
TaskAuditLogHelper.getTaskHeader(TaskManager taskManager,
@NotNull TaskDefinition taskDefinition) |
static void |
TaskAuditLogHelper.logTaskConfigurationChanges(AuditLogService auditLogService,
TaskManager taskManager,
AuditLogEntityType entityType,
Key key,
TaskDefinition taskDefinition,
Map<String,String> oldConfiguration,
String oldDescription,
boolean oldIsEnabled) |
| Modifier and Type | Class and Description |
|---|---|
class |
DecoratedTaskDefinitionImpl<T extends TaskContainer>
Decoration of task used when displaying on the UI.
|
| Constructor and Description |
|---|
DecoratedTaskDefinitionImpl(@NotNull TaskDefinition taskDefinition,
@Nullable TaskModuleDescriptor taskModuleDescriptor,
T taskContainer) |
| Modifier and Type | Method and Description |
|---|---|
static <T extends TaskDefinition> |
BambooPluginUtils.filterEnabledTasks(Iterable<T> taskDefinitions,
String pluginKey) |
static <T extends TaskDefinition> |
BambooPluginUtils.filterTasks(Iterable<T> taskDefinitions,
com.google.common.base.Predicate<TaskDefinition>... predicates) |
| Modifier and Type | Method and Description |
|---|---|
static Iterable<TaskDefinition> |
BambooPluginUtils.filterEnabledTasks(BuildContext buildContext,
String pluginKey) |
static Iterable<TaskDefinition> |
BambooPluginUtils.filterTasks(BuildContext buildContext,
String pluginKey) |
static Iterable<TaskDefinition> |
BambooPluginUtils.filterTasks(ImmutableJob job,
String pluginKey) |
static Iterable<TaskDefinition> |
BambooPluginUtils.filterTasks(Iterable<TaskDefinition> taskDefinitions,
String pluginKey) |
| Modifier and Type | Method and Description |
|---|---|
static Iterable<TaskDefinition> |
BambooPluginUtils.filterTasks(Iterable<TaskDefinition> taskDefinitions,
String pluginKey) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull com.atlassian.bamboo.specs.builders.task.AntTask |
AntTaskExporter.toSpecsEntity(@NotNull TaskDefinition taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Set<Requirement> |
AntBuildTaskConfigurator.calculateRequirements(@NotNull TaskDefinition taskDefinition) |
@NotNull Map<String,String> |
AntBuildTaskConfigurator.generateTaskConfigMap(@NotNull ActionParametersMap params,
@Nullable TaskDefinition previousTaskDefinition) |
void |
AntBuildTaskConfigurator.populateContextForEdit(@NotNull Map<String,Object> context,
@NotNull TaskDefinition taskDefinition) |
boolean |
AntBuildTaskConfigurator.taskProducesTestResults(@NotNull TaskDefinition taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Map<String,String> |
ArtifactDownloaderTaskConfigurator.generateTaskConfigMap(@NotNull ActionParametersMap params,
@Nullable TaskDefinition previousTaskDefinition) |
void |
ArtifactDownloaderTaskConfigurator.populateContextForEdit(@NotNull Map<String,Object> context,
@NotNull TaskDefinition taskDefinition) |
@NotNull Map<String,String> |
ArtifactDownloaderRuntimeDataProvider.populateRuntimeTaskData(@NotNull TaskDefinition taskDefinition,
@NotNull CommonContext commonContext) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull com.atlassian.bamboo.specs.builders.task.ArtifactDownloaderTask |
ArtifactDownloaderTaskExporter.toSpecsEntity(@NotNull TaskContainer taskContainer,
@NotNull TaskDefinition taskDefinition) |
@NotNull com.atlassian.bamboo.specs.builders.task.CleanWorkingDirectoryTask |
CleanWorkingDirectoryTaskExporter.toSpecsEntity(TaskDefinition taskDefinition) |
@NotNull com.atlassian.bamboo.specs.builders.task.ArtifactDownloaderTask |
ArtifactDownloaderTaskExporter.toSpecsEntity(@NotNull TaskDefinition taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Set<Requirement> |
CommandBuildTaskConfigurator.calculateRequirements(@NotNull TaskDefinition taskDefinition) |
@NotNull Map<String,String> |
CommandTaskRuntimeDataProvider.populateRuntimeTaskData(@NotNull TaskDefinition taskDefinition,
@NotNull CommonContext commonContext) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull com.atlassian.bamboo.specs.builders.task.CommandTask |
CommandTaskExporter.toSpecsEntity(TaskDefinition taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Set<Requirement> |
GrailsTaskConfigurator.calculateRequirements(@NotNull TaskDefinition taskDefinition,
@NotNull Job job) |
@NotNull Map<String,String> |
GrailsTaskConfigurator.generateTaskConfigMap(@NotNull ActionParametersMap params,
@Nullable TaskDefinition previousTaskDefinition) |
void |
GrailsTaskConfigurator.populateContextForEdit(@NotNull Map<String,Object> context,
@NotNull TaskDefinition taskDefinition) |
boolean |
GrailsTaskConfigurator.taskProducesTestResults(@NotNull TaskDefinition taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull com.atlassian.bamboo.specs.builders.task.MavenTask |
MavenTaskExporter.toSpecsEntity(@NotNull TaskDefinition taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Map<String,String> |
MavenDependenciesProcessorTaskConfigurator.generateTaskConfigMap(@NotNull ActionParametersMap params,
@Nullable TaskDefinition previousTaskDefinition) |
void |
MavenDependenciesProcessorTaskConfigurator.populateContextForEdit(@NotNull Map<String,Object> context,
@NotNull TaskDefinition taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull com.atlassian.bamboo.specs.api.builders.task.Task |
MavenDependenciesProcessorTaskExporter.toSpecsEntity(@NotNull TaskDefinition taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Set<Requirement> |
Maven2BuildTaskConfigurator.calculateRequirements(@NotNull TaskDefinition taskDefinition) |
@NotNull Set<Requirement> |
Maven1BuildTaskConfigurator.calculateRequirements(@NotNull TaskDefinition taskDefinition) |
@NotNull Set<Requirement> |
Maven3BuildTaskConfigurator.calculateRequirements(@NotNull TaskDefinition taskDefinition) |
@NotNull Set<Requirement> |
AbstractMavenBuildTaskConfigurator.calculateRequirements(@NotNull TaskDefinition taskDefinition) |
@NotNull Map<String,String> |
Maven2BuildTaskConfigurator.generateTaskConfigMap(@NotNull ActionParametersMap params,
@Nullable TaskDefinition previousTaskDefinition) |
@NotNull Map<String,String> |
Maven1BuildTaskConfigurator.generateTaskConfigMap(@NotNull ActionParametersMap params,
@Nullable TaskDefinition previousTaskDefinition) |
@NotNull Map<String,String> |
Maven3BuildTaskConfigurator.generateTaskConfigMap(@NotNull ActionParametersMap params,
@Nullable TaskDefinition previousTaskDefinition) |
@NotNull Map<String,String> |
AbstractMavenBuildTaskConfigurator.generateTaskConfigMap(@NotNull ActionParametersMap params,
@Nullable TaskDefinition previousTaskDefinition) |
void |
AbstractMavenBuildTaskConfigurator.populateContextForEdit(@NotNull Map<String,Object> context,
@NotNull TaskDefinition taskDefinition) |
boolean |
AbstractMavenBuildTaskConfigurator.taskProducesTestResults(@NotNull TaskDefinition taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Set<Requirement> |
PhpUnitBuildTaskConfigurator.calculateRequirements(@NotNull TaskDefinition taskDefinition,
@NotNull Job job) |
@NotNull Map<String,String> |
PhpUnitBuildTaskConfigurator.generateTaskConfigMap(@NotNull ActionParametersMap params,
@Nullable TaskDefinition previousTaskDefinition) |
void |
PhpUnitBuildTaskConfigurator.populateContextForEdit(@NotNull Map<String,Object> context,
@NotNull TaskDefinition taskDefinition) |
boolean |
PhpUnitBuildTaskConfigurator.taskProducesTestResults(@NotNull TaskDefinition taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
static @NotNull Set<Requirement> |
PhpUnitBuildTaskHelper.calculateRequirements(@NotNull TaskConfiguratorHelper taskConfiguratorHelper,
@NotNull TaskDefinition taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
void |
ScriptBuildTaskConfigurator.populateContextForEdit(@NotNull Map<String,Object> context,
@NotNull TaskDefinition taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull com.atlassian.bamboo.specs.builders.task.ScriptTask |
ScriptTaskExporter.toSpecsEntity(@NotNull TaskDefinition taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Map<String,String> |
AbstractShellCommandTaskConfigurator.generateTaskConfigMap(@NotNull ActionParametersMap params,
@Nullable TaskDefinition previousTaskDefinition) |
void |
AbstractShellCommandTaskConfigurator.populateContextForEdit(@NotNull Map<String,Object> context,
@NotNull TaskDefinition taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Map<String,String> |
TestResultsParserTaskConfigurator.generateTaskConfigMap(@NotNull ActionParametersMap params,
@Nullable TaskDefinition previousTaskDefinition) |
void |
TestResultsParserTaskConfigurator.populateContextForEdit(@NotNull Map<String,Object> context,
@NotNull TaskDefinition taskDefinition) |
boolean |
TestResultsParserTaskConfigurator.taskProducesTestResults(@NotNull TaskDefinition taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull com.atlassian.bamboo.specs.api.builders.task.Task<com.atlassian.bamboo.specs.builders.task.TestParserTask,com.atlassian.bamboo.specs.model.task.TestParserTaskProperties> |
TestParserTaskExporter.toSpecsEntity(@NotNull TaskDefinition taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Map<String,String> |
TestResultGeneratorTaskConfigurator.generateTaskConfigMap(@NotNull ActionParametersMap params,
@Nullable TaskDefinition previousTaskDefinition) |
void |
TestResultGeneratorTaskConfigurator.populateContextForEdit(@NotNull Map<String,Object> context,
@NotNull TaskDefinition taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull com.atlassian.bamboo.specs.builders.task.InjectVariablesTask |
InjectVariablesTaskExporter.toSpecsEntity(@NotNull TaskDefinition taskDefinition) |
@NotNull com.atlassian.bamboo.specs.builders.task.DumpVariablesTask |
DumpVariablesTaskExporter.toSpecsEntity(@NotNull TaskDefinition taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Map<String,String> |
InjectVariablesTaskConfigurator.generateTaskConfigMap(@NotNull ActionParametersMap params,
@Nullable TaskDefinition previousTaskDefinition) |
void |
InjectVariablesTaskConfigurator.populateContextForEdit(@NotNull Map<String,Object> context,
@NotNull TaskDefinition taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Map<String,String> |
AbstractVcsTaskConfigurator.generateTaskConfigMap(@NotNull ActionParametersMap params,
@Nullable TaskDefinition previousTaskDefinition) |
@NotNull Map<String,String> |
VcsCheckoutTaskConfigurator.generateTaskConfigMap(@NotNull ActionParametersMap params,
@Nullable TaskDefinition previousTaskDefinition) |
void |
AbstractVcsTaskConfigurator.populateContextForEdit(@NotNull Map<String,Object> context,
@NotNull TaskDefinition taskDefinition) |
void |
VcsCheckoutTaskConfigurator.populateContextForEdit(@NotNull Map<String,Object> context,
@NotNull TaskDefinition taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
protected <P extends com.atlassian.bamboo.specs.model.task.BaseVcsTaskProperties,B extends com.atlassian.bamboo.specs.builders.task.BaseVcsTask<B,P>> |
AbstractVcsTaskExporter.baseVcsTaskToSpecsEntity(@NotNull TaskDefinition taskDefinition,
B specsEntity)
Implementation of
TaskDefinitionExporter.toSpecsEntity(TaskDefinition) for exporters of BaseVcsTaskProperties. |
@NotNull com.atlassian.bamboo.specs.builders.task.VcsPushTask |
VcsPushTaskExporter.toSpecsEntity(@NotNull TaskDefinition taskDefinition) |
@NotNull com.atlassian.bamboo.specs.builders.task.VcsTagTask |
VcsTagTaskExporter.toSpecsEntity(@NotNull TaskDefinition taskDefinition) |
@NotNull com.atlassian.bamboo.specs.builders.task.VcsCommitTask |
VcsCommitTaskExporter.toSpecsEntity(@NotNull TaskDefinition taskDefinition) |
@NotNull com.atlassian.bamboo.specs.builders.task.VcsBranchTask |
VcsBranchTaskExporter.toSpecsEntity(@NotNull TaskDefinition taskDefinition) |
@NotNull com.atlassian.bamboo.specs.api.builders.task.Task |
VcsCheckoutTaskExporter.toSpecsEntity(@NotNull TaskDefinition taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
static Function<String,Result<RepositoryDefinitionException,PlanRepositoryDefinition>> |
RepositoryFunctions.idSelectorToPlanRepositoryDefinition(@NotNull List<PlanRepositoryDefinition> repositoryDefinitionList,
@NotNull TaskDefinition taskDefinition) |
static Function<String,Result<RepositoryDefinitionException,PlanRepositoryDefinition>> |
RepositoryFunctions.idSelectorToPlanRepositoryDefinition(@NotNull Map<Long,PlanRepositoryDefinition> repositoryDefinitionMap,
@NotNull TaskDefinition taskDefinition) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
DecoratedTaskDefinition<T extends TaskContainer>
A definition of one decorated configuration of a
TaskType |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableTaskDefinition
Immutable
TaskDefinition implementation |
class |
TaskDefinitionImpl |
| Modifier and Type | Method and Description |
|---|---|
TaskDefinition |
TaskConfigurationServiceImpl.createTask(@NotNull PlanKey planKey,
@NotNull TaskModuleDescriptor taskDescriptor,
@Nullable String userDescription,
boolean isEnabled,
@NotNull List<TaskConditionConfig> conditions,
@NotNull Map<String,String> configuration,
@NotNull TaskRootDirectorySelector taskRootDirectorySelector) |
TaskDefinition |
TaskConfigurationService.createTask(@NotNull PlanKey planKey,
@NotNull TaskModuleDescriptor taskDescriptor,
@Nullable String userDescription,
boolean isEnabled,
@NotNull List<TaskConditionConfig> conditions,
@NotNull Map<String,String> configuration,
@NotNull TaskRootDirectorySelector taskRootDirectorySelector)
Create a task Definition and save it against the plan
|
TaskDefinition |
TaskConfigurationServiceImpl.createTask(@NotNull PlanKey planKey,
@NotNull TaskModuleDescriptor taskDescriptor,
@Nullable String userDescription,
boolean isEnabled,
@NotNull Map<String,String> configuration,
@NotNull TaskRootDirectorySelector taskRootDirectorySelector) |
TaskDefinition |
TaskConfigurationService.createTask(@NotNull PlanKey planKey,
@NotNull TaskModuleDescriptor taskDescriptor,
@Nullable String userDescription,
boolean isEnabled,
@NotNull Map<String,String> configuration,
@NotNull TaskRootDirectorySelector taskRootDirectorySelector)
Create a task Definition and save it against the plan
|
TaskDefinition |
TaskConfigurationServiceImpl.editTask(@NotNull PlanKey planKey,
long taskId,
@Nullable String userDescription,
boolean isEnabled,
@NotNull List<TaskConditionConfig> conditions,
@NotNull Map<String,String> taskConfigurationMap,
@NotNull TaskRootDirectorySelector taskRootDirectorySelector) |
TaskDefinition |
TaskConfigurationService.editTask(@NotNull PlanKey planKey,
long taskId,
@Nullable String userDescription,
boolean isEnabled,
@NotNull List<TaskConditionConfig> conditions,
@NotNull Map<String,String> taskConfigurationMap,
@NotNull TaskRootDirectorySelector taskRootDirectorySelector)
Update the details of specific taskDefinition
|
TaskDefinition |
TaskConfigurationServiceImpl.editTask(@NotNull PlanKey planKey,
long taskId,
@Nullable String userDescription,
boolean isEnabled,
@NotNull Map<String,String> taskConfigurationMap,
@NotNull TaskRootDirectorySelector taskRootDirectorySelector) |
TaskDefinition |
TaskConfigurationService.editTask(@NotNull PlanKey planKey,
long taskId,
@Nullable String userDescription,
boolean isEnabled,
@NotNull Map<String,String> taskConfigurationMap,
@NotNull TaskRootDirectorySelector taskRootDirectorySelector)
Update the details of specific taskDefinition
|
protected @Nullable TaskDefinition |
TaskConfigurationServiceImpl.getTaskById(@NotNull List<TaskDefinition> tasks,
long id) |
TaskDefinition |
TaskConfigurationServiceImpl.setTaskState(@NotNull PlanKey planKey,
long taskId,
boolean disabled) |
TaskDefinition |
TaskConfigurationService.setTaskState(@NotNull PlanKey planKey,
long taskId,
boolean isEnabled)
Update the disable state of specific taskDefinition
|
| Modifier and Type | Method and Description |
|---|---|
List<TaskDefinition> |
TaskConfigurationServiceImpl.getRelevantTasksForRepositoryId(@NotNull ImmutableJob job,
long repositoryId) |
List<TaskDefinition> |
TaskConfigurationService.getRelevantTasksForRepositoryId(@NotNull ImmutableJob job,
long repositoryId)
Return relevant
TaskDefinition for given Job and repositoryId |
static com.google.common.base.Predicate<TaskDefinition> |
TaskPredicates.hasTaskDefinitionEqualId(long id)
Get a predicate that returns true for
TaskDefinition which has equal id |
static com.google.common.base.Predicate<TaskDefinition> |
TaskPredicates.hasTaskDefinitionEqualId(@NotNull TaskDefinition taskDefinition)
Get a predicate that returns true for
TaskDefinition which has equal id |
static com.google.common.base.Predicate<TaskDefinition> |
TaskPredicates.isConfigurationFieldEqual(@NotNull String key,
@NotNull String value)
Get a predicate that returns true if TaskDefinition.getConfiguration contains key and value equal to passed in
parameters.
|
static com.google.common.base.Predicate<TaskDefinition> |
TaskPredicates.isFinalisingEqual(boolean isFinalising)
Get a predicate that returns true if TaskDefinition.isFinalisingTask is equal to passed as parameter
|
static com.google.common.base.Predicate<TaskDefinition> |
TaskPredicates.isFinalisingTaskDefinition()
Get a predicate that returns true for TaskDefinition which are marked as "finalizing"
|
static com.google.common.base.Predicate<TaskDefinition> |
TaskPredicates.isTaskEnabled()
Get a predicate that returns true for
TaskDefinition which is enabled |
| Modifier and Type | Method and Description |
|---|---|
void |
TaskConfiguratorHelperImpl.addJdkRequirement(@NotNull Set<Requirement> requirements,
@NotNull TaskDefinition taskDefinition,
@NotNull String cfgJdkLabel) |
void |
TaskConfiguratorHelper.addJdkRequirement(@NotNull Set<Requirement> requirements,
@NotNull TaskDefinition taskDefinition,
@NotNull String cfgJdkLabel)
Add JDK requirement if JDK was defined in task configuration
|
void |
TaskConfiguratorHelperImpl.addSystemRequirementFromConfiguration(@NotNull Set<Requirement> requirements,
@NotNull TaskDefinition taskDefinition,
@NotNull String cfgKey,
@NotNull String requirementPrefix) |
void |
TaskConfiguratorHelper.addSystemRequirementFromConfiguration(@NotNull Set<Requirement> requirements,
@NotNull TaskDefinition taskDefinition,
@NotNull String cfgKey,
@NotNull String requirementPrefix)
Add Executable requirement if Executable was defined in task configuration
|
@NotNull Set<Requirement> |
TaskRequirementSupport.calculateRequirements(@NotNull TaskDefinition taskDefinition)
Populates the
RequirementSet needed based off of the TaskDefinition |
Set<Requirement> |
AbstractTaskConfigurator.calculateRequirements(@NotNull TaskDefinition taskDefinition,
@NotNull Buildable job)
Deprecated.
since 5.0
|
Set<Requirement> |
AbstractTaskConfigurator.calculateRequirements(@NotNull TaskDefinition taskDefinition,
@NotNull Job job) |
@NotNull Set<Requirement> |
BuildTaskRequirementSupport.calculateRequirements(@NotNull TaskDefinition taskDefinition,
@NotNull Job job)
Populates the
RequirementSet needed based off of the TaskDefinition |
void |
TaskManagerImpl.calculateRequirementsForTaskDefinition(@NotNull Job job,
@NotNull TaskDefinition taskDefinition) |
void |
TaskManager.calculateRequirementsForTaskDefinition(@NotNull Job job,
@NotNull TaskDefinition taskDefinition)
Attempts to add
Requirements to the specified Buildable if the TaskConfigurator is an implementor of BuildTaskRequirementSupport
If requirements are already present for the specified TaskDefinition they will be removed and recalculated |
void |
TaskManagerImpl.calculateRequirementsForTaskDefinition(@NotNull RequirementSet requirementSet,
@NotNull TaskDefinition taskDefinition,
Supplier<Set<Requirement>> requirementSupplier) |
void |
TaskManager.calculateRequirementsForTaskDefinition(@NotNull RequirementSet requirementSet,
@NotNull TaskDefinition taskDefinition,
Supplier<Set<Requirement>> requirementSupplier)
Deprecated.
|
void |
TaskManagerImpl.calculateRequirementsForTaskDefinition(@NotNull RequirementSet requirementSet,
@NotNull TaskDefinition taskDefinition,
Supplier<Set<Requirement>> requirementSupplier,
boolean dockerPipelinesEnabled) |
void |
TaskManager.calculateRequirementsForTaskDefinition(@NotNull RequirementSet requirementSet,
@NotNull TaskDefinition taskDefinition,
Supplier<Set<Requirement>> requirementSupplier,
boolean dockerPipelinesEnabled)
Attempts to add
Requirements to the specified RequirementSet. |
@Nullable Requirement |
TaskConfiguratorHelperImpl.createRequirementFromConfiguration(@NotNull TaskDefinition taskDefinition,
@NotNull String cfgKey) |
@Nullable Requirement |
TaskConfiguratorHelper.createRequirementFromConfiguration(@NotNull TaskDefinition taskDefinition,
@NotNull String cfgKey)
Creates a new Executable requirement if Executable was defined in task configuration
|
@NotNull Map<String,String> |
AbstractTaskConfigurator.generateTaskConfigMap(@NotNull ActionParametersMap params,
@Nullable TaskDefinition previousTaskDefinition) |
@NotNull Map<String,String> |
TaskConfigurator.generateTaskConfigMap(@NotNull ActionParametersMap params,
@Nullable TaskDefinition previousTaskDefinition)
Convert the params from the ui into a config map to be stored in the database for the taskDefinition.
|
static com.google.common.base.Predicate<TaskDefinition> |
TaskPredicates.hasTaskDefinitionEqualId(@NotNull TaskDefinition taskDefinition)
Get a predicate that returns true for
TaskDefinition which has equal id |
void |
AbstractTaskConfigurator.populateContextForEdit(@NotNull Map<String,Object> context,
@NotNull TaskDefinition taskDefinition) |
void |
TaskConfigurator.populateContextForEdit(@NotNull Map<String,Object> context,
@NotNull TaskDefinition taskDefinition)
Provide any required context to be used when rendering the freemarker template for view editing a task definition
|
void |
AbstractTaskConfigurator.populateContextForView(@NotNull Map<String,Object> context,
@NotNull TaskDefinition taskDefinition)
Deprecated.
since 5.13, tasks do not have view UI anymore and any overrides of this method are not executed
|
void |
TaskConfiguratorHelperImpl.populateContextWithConfiguration(@NotNull Map<String,Object> context,
@NotNull TaskDefinition taskDefinition,
@NotNull Iterable<String> keys) |
void |
TaskConfiguratorHelper.populateContextWithConfiguration(@NotNull Map<String,Object> context,
@NotNull TaskDefinition taskDefinition,
@NotNull Iterable<String> keys)
Populate Freemarker context with selected data from task configuration.
|
@NotNull Map<String,String> |
RuntimeTaskDataProvider.populateRuntimeTaskData(@NotNull TaskDefinition taskDefinition,
@NotNull CommonContext commonContext)
Server side pre-build action that may be implemented by task.
|
default void |
RuntimeTaskDataProvider.processRuntimeTaskData(@NotNull TaskDefinition taskDefinition,
@NotNull CommonContext commonContext)
Deprecated.
|
@NotNull TaskState |
QuarantineTaskResultProcessor.recalculateTaskState(TaskContext taskContext,
TaskResult taskResult,
TaskDefinition taskDefinition) |
@NotNull TaskState |
TaskResultProcessor.recalculateTaskState(TaskContext taskContext,
TaskResult taskResult,
TaskDefinition taskDefinition)
Recalculate the
TaskState of a given task and its' result. |
void |
TaskManagerImpl.removeRequirementsForTaskDefinition(@NotNull Buildable buildable,
@NotNull TaskDefinition taskDefinition) |
void |
TaskManager.removeRequirementsForTaskDefinition(@NotNull Buildable buildable,
@NotNull TaskDefinition taskDefinition)
Removes all the
Requirements that belong to the TaskDefinition |
void |
TaskManagerImpl.removeRequirementsForTaskDefinition(@NotNull RequirementSet requirementSet,
@NotNull TaskDefinition taskDefinition) |
void |
TaskManager.removeRequirementsForTaskDefinition(@NotNull RequirementSet requirementSet,
@NotNull TaskDefinition taskDefinition)
Removes all the
Requirements that belong to the TaskDefinition |
boolean |
TaskManagerImpl.taskProducesTestResults(@NotNull TaskDefinition taskDefinition) |
boolean |
TaskManager.taskProducesTestResults(@NotNull TaskDefinition taskDefinition)
Return true iff task defined in
TaskDefinition is configured to produce test results. |
boolean |
TaskTestResultsSupport.taskProducesTestResults(@NotNull TaskDefinition taskDefinition)
Returns true iff task defined by TaskDefinition produces test results.
|
void |
TaskManagerImpl.updateRepositoryIdsInTask(@NotNull TaskDefinition taskDefinition,
@NotNull Map<Long,Long> repositoryIdChanges) |
void |
TaskManager.updateRepositoryIdsInTask(@NotNull TaskDefinition taskDefinition,
@NotNull Map<Long,Long> repositoryIdChanges)
Updates task configurations affected by repository edition.
|
| Constructor and Description |
|---|
ImmutableTaskDefinition(@NotNull TaskDefinition taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
default <T extends com.atlassian.bamboo.specs.api.builders.task.Task<T,P>,P extends com.atlassian.bamboo.specs.api.model.task.TaskProperties> |
TaskDefinitionExporter.toSpecsEntity(@NotNull TaskContainer taskContainer,
@NotNull TaskDefinition taskDefinition)
Create Bamboo Specs object representing this task.
|
@NotNull com.atlassian.bamboo.specs.api.builders.task.Task |
DefaultTaskDefinitionExporter.toSpecsEntity(TaskDefinition taskDefinition) |
<T extends com.atlassian.bamboo.specs.api.builders.task.Task<T,P>,P extends com.atlassian.bamboo.specs.api.model.task.TaskProperties> |
TaskDefinitionExporter.toSpecsEntity(@NotNull TaskDefinition taskDefinition)
Create Bamboo Specs object representing this task.
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull Set<Requirement> |
AbstractRepositoryAwareTaskConfigurator.calculateRequirements(@NotNull TaskDefinition taskDefinition,
@NotNull Environment environment) |
@NotNull Set<Requirement> |
AbstractRepositoryAwareTaskConfigurator.calculateRequirements(@NotNull TaskDefinition taskDefinition,
@NotNull Job job) |
@NotNull List<PlanRepositoryDefinition> |
AbstractRepositoryAwareTaskConfigurator.getPlanRepositoriesUsedByTask(@NotNull TaskDefinition taskDefinition,
@NotNull ImmutableJob job) |
@NotNull List<PlanRepositoryDefinition> |
RepositoryAwareTaskConfigurator.getPlanRepositoriesUsedByTask(@NotNull TaskDefinition taskDefinition,
@NotNull ImmutableJob job) |
@NotNull List<PlanRepositoryDefinition> |
AbstractRepositoryAwareTaskConfigurator.getPlanRepositoriesUsedByTask(@NotNull TaskDefinition taskDefinition,
@NotNull InternalEnvironment environment) |
static PlanRepositoryDefinition |
RepositoryTaskHelper.getPlanRepositoryByIdSelector(@NotNull CommonContext buildContext,
@NotNull TaskDefinition taskDefinition,
@NotNull String repositoryIdSelector) |
@NotNull List<RepositoryDefinition> |
AbstractRepositoryAwareTaskConfigurator.getRepositoriesUsedByTask(@NotNull TaskDefinition taskDefinition,
@NotNull Environment environment) |
@NotNull List<RepositoryDefinition> |
AbstractRepositoryAwareTaskConfigurator.getRepositoriesUsedByTask(@NotNull TaskDefinition taskDefinition,
@NotNull ImmutableJob job) |
default @NotNull List<RepositoryDefinition> |
RepositoryAwareTaskConfigurator.getRepositoriesUsedByTask(@NotNull TaskDefinition taskDefinition,
@NotNull ImmutableJob job)
Deprecated.
since 7.0 use
RepositoryAwareTaskConfigurator.getPlanRepositoriesUsedByTask(TaskDefinition, ImmutableJob) instead. |
void |
AbstractRepositoryAwareTaskConfigurator.handleRepositoryIdChanged(@NotNull TaskDefinition taskDefinition,
@NotNull Map<Long,Long> repositoryIdChanges) |
void |
RepositoryAwareTaskConfigurator.handleRepositoryIdChanged(@NotNull TaskDefinition taskDefinition,
@NotNull Map<Long,Long> repositoryIdChanges)
Action taken if repository id changed, i.e.
|
static void |
RepositoryTaskHelper.replaceRepositoryReferences(@NotNull TaskDefinition taskDefinition,
@NotNull Map<Long,Long> repositoryIdChanges) |
static @NotNull List<PlanRepositoryDefinition> |
RepositoryTaskHelper.safeGetPlanRepositoriesUsedByTask(@NotNull TaskDefinition taskDefinition,
@NotNull List<PlanRepositoryDefinition> repositoryDefinitionList)
Get list of
PlanRepositoryDefinition existing in repositoryDefinitionMap and used by task |
| Modifier and Type | Interface and Description |
|---|---|
interface |
RuntimeTaskDefinition
Task definition extended with runtime information
|
| Modifier and Type | Class and Description |
|---|---|
class |
RuntimeTaskDefinitionImpl |
| Constructor and Description |
|---|
RuntimeTaskDefinitionImpl(@NotNull TaskDefinition t) |
RuntimeTaskDefinitionImpl(@NotNull TaskDefinition t,
@Nullable Map<String,String> runtimeContext,
boolean producesTestResults) |
RuntimeTaskDefinitionImpl(@NotNull TaskDefinition t,
@Nullable Map<String,String> runtimeContext,
@Nullable Map<String,WhitelistedSerializable> runtimeData,
boolean producesTestResults) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
AbstractTaskConfigurationUpgradeTask.updateTaskDefinition(TaskDefinition taskDefinition)
Update task definition.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
UpgradeTask51314ConvertPathsInDownloadTasks.updateTaskDefinition(TaskDefinition taskDefinition) |
protected boolean |
UpgradeTask51313MigrateLegacyScriptTasks.updateTaskDefinition(TaskDefinition taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
UpgradeTask70202MigrateUsernameCondition.updateTaskDefinition(TaskDefinition taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.base.Predicate<TaskDefinition> |
BambooPredicates.hasTaskDefinitionEqualId(long id) |
static com.google.common.base.Predicate<TaskDefinition> |
BambooPredicates.isFinalizingTaskDefinition()
Get a predicate that returns true for TaskDefinition which are marked as "finalizing"
|
| Modifier and Type | Method and Description |
|---|---|
Map<ImmutableJob,List<TaskDefinition>> |
VcsRepositoryConfigurationServiceImpl.getRelevantJobsForRepositoryIdChange(@NotNull ImmutablePlan plan,
long repositoryId) |
Map<ImmutableJob,List<TaskDefinition>> |
VcsRepositoryConfigurationService.getRelevantJobsForRepositoryIdChange(@NotNull ImmutablePlan plan,
long repositoryId)
Deprecated.
since 5.14
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull Set<Requirement> |
WarningsTaskConfigurator.calculateRequirements(@NotNull TaskDefinition taskDefinition,
@NotNull Job job) |
@NotNull Map<String,String> |
WarningsTaskConfigurator.generateTaskConfigMap(@NotNull ActionParametersMap params,
@Nullable TaskDefinition previousTaskDefinition) |
@NotNull List<PlanRepositoryDefinition> |
WarningsTaskConfigurator.getPlanRepositoriesUsedByTask(@NotNull TaskDefinition taskDefinition,
@NotNull ImmutableJob job) |
void |
WarningsTaskConfigurator.handleRepositoryIdChanged(@NotNull TaskDefinition taskDefinition,
@NotNull Map<Long,Long> repositoryIdChanges) |
void |
WarningsTaskConfigurator.populateContextForEdit(@NotNull Map<String,Object> context,
@NotNull TaskDefinition taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull com.atlassian.bamboo.specs.builders.task.BuildWarningParserTask |
WarningsTaskExporter.toSpecsEntity(@NotNull TaskDefinition taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
Map<ImmutableJob,List<TaskDefinition>> |
DeleteRepository.getRelevantJobsUsingRepository() |
| Modifier and Type | Method and Description |
|---|---|
String |
DeleteRepository.getTaskName(TaskDefinition taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
DeleteRepository.getTasksCount(Map<Job,List<TaskDefinition>> tasks) |
| Modifier and Type | Field and Description |
|---|---|
protected TaskDefinition |
ConfigureBuildTasks.taskDefinition |
| Modifier and Type | Method and Description |
|---|---|
protected @Nullable TaskDefinition |
ConfigureBuildTasks.getTaskById(@NotNull ImmutablePlan plan,
long id) |
TaskDefinition |
EditTask.getTaskDefinition() |
| Modifier and Type | Method and Description |
|---|---|
String |
TaskUIConfigBean.conditionHtml(String conditionPluginKey,
@Nullable TaskDefinition taskDefinition,
@NotNull ActionParametersMap params) |
@NotNull Map<String,String> |
TaskUIConfigBean.getTaskConfigurationMap(@NotNull TaskModuleDescriptor taskDescriptor,
@Nullable TaskDefinition previousTaskDefinition) |
@NotNull String |
TaskUIConfigBean.prepareEditHtml(@NotNull TaskModuleDescriptor taskDescriptor,
@NotNull TaskDefinition taskDefinition,
@NotNull TaskRenderMode renderMode,
@NotNull TaskOwner taskOwner) |
| Constructor and Description |
|---|
DecoratedTaskManipulationResult(@NotNull TaskDefinition taskDefinition,
@Nullable TaskModuleDescriptor taskModuleDescriptor,
@NotNull com.google.common.collect.Multimap<String,String> requirementConflicts,
T taskContainer) |
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.