Modifier and Type | Field and Description |
---|---|
protected List<TaskDefinition> |
DefaultBuildDefinition.taskDefinitions |
Modifier and Type | Method and Description |
---|---|
List<TaskDefinition> |
DefaultBuildDefinition.getTaskDefinitions() |
List<TaskDefinition> |
DefaultJob.getTaskDefinitions() |
List<TaskDefinition> |
PartialBuildDefinition.getTaskDefinitions() |
List<TaskDefinition> |
BuildDefinition.getTaskDefinitions()
All tasks defined for this build.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultBuildDefinition.setTaskDefinitions(List<TaskDefinition> taskConfigs) |
void |
BuildDefinition.setTaskDefinitions(List<TaskDefinition> taskDefinitions) |
Modifier and Type | Method and Description |
---|---|
TaskDefinition |
TaskDefinitionExportHelper.importTaskDefinition(long id,
TaskContainer taskContainer,
com.atlassian.bamboo.specs.api.model.task.TaskProperties taskProperties,
boolean finalTask) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.bamboo.specs.api.builders.task.Task |
TaskDefinitionExportHelper.toSpecsEntity(TaskDefinition taskDefinition) |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Function<TaskDefinition,Map<String,String>> |
CredentialsConfigFunctions.configMapFromTaskDefinition()
Deprecated.
use method pointer
|
static com.google.common.base.Function<TaskDefinition,ConfigurableSharedCredentialDepender> |
CredentialsDependerFunctions.dependerFromTaskDefinition()
Deprecated.
use method pointer
|
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 |
---|---|
List<TaskDefinition> |
EnvironmentWithConfigCounts.getTaskDefinitions() |
List<TaskDefinition> |
EnvironmentImpl.getTaskDefinitions() |
List<TaskDefinition> |
Environment.getTaskDefinitions() |
Modifier and Type | Method and Description |
---|---|
Set<Requirement> |
DeploymentTaskRequirementSupport.calculateRequirements(TaskDefinition taskDefinition,
Environment environment)
Populates the
RequirementSet needed based off of the TaskDefinition |
List<RepositoryDefinition> |
RepositoryAwareDeploymentTaskConfigurator.getRepositoriesUsedByTask(TaskDefinition taskDefinition,
Environment environment) |
void |
RepositoryAwareDeploymentTaskConfigurator.handleRepositoryIdChanged(TaskDefinition taskDefinition,
Map<Long,Long> repositoryIdChanges)
Action taken if repository id changed, i.e.
|
Modifier and Type | Method and Description |
---|---|
protected 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 | Method and Description |
---|---|
TaskDefinition |
EnvironmentTaskServiceImpl.createTask(long environmentId,
TaskModuleDescriptor taskDescriptor,
String userDescription,
boolean isEnabled,
Map<String,String> configuration) |
TaskDefinition |
EnvironmentTaskService.createTask(long environmentId,
TaskModuleDescriptor taskDescriptor,
String userDescription,
boolean isEnabled,
Map<String,String> configuration)
Create a new 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 TaskDefinition |
EnvironmentTaskServiceImpl.getTaskById(List<TaskDefinition> tasks,
long id) |
Modifier and Type | Method and Description |
---|---|
protected TaskDefinition |
EnvironmentTaskServiceImpl.getTaskById(List<TaskDefinition> tasks,
long id) |
Modifier and Type | Method and Description |
---|---|
List<TaskDefinition> |
DeploymentContextImpl.getTaskDefinitions() |
Constructor and Description |
---|
DeploymentContextImpl(DeploymentProject deploymentProject,
DeploymentResult deploymentResult,
List<TaskDefinition> taskDefinitions,
Map<String,String> artifactHandlerConfiguration,
VariableContext variableContext,
Map<Long,PlanRepositoryDefinition> planRepositoryDefinitionMap,
com.google.common.collect.Multimap<String,Artifact> versionArtifacts,
DeploymentVersion previousVersion,
Iterable<CredentialsData> sharedCredentials,
Map<PlanKey,ChainStorageTag> necessaryStorageTags) |
Modifier and Type | Method and Description |
---|---|
static List<TaskDefinition> |
TaskConfigurationUtils.addTaskToList(List<TaskDefinition> originalTasks,
TaskDefinition toAdd) |
static List<TaskDefinition> |
TaskConfigurationUtils.getNewTaskList(List<TaskDefinition> originalTasks,
TaskDefinition toMove,
long beforeId,
long afterId,
boolean isFinal) |
static List<TaskDefinition> |
TaskConfigurationUtils.getTaskDefinitionsFromConfig(String taskPrefix,
org.apache.commons.configuration.HierarchicalConfiguration fromConfig)
Retrieves tasks from build configuration
|
Modifier and Type | Method and Description |
---|---|
static List<TaskDefinition> |
TaskConfigurationUtils.addTaskToList(List<TaskDefinition> originalTasks,
TaskDefinition toAdd) |
static List<TaskDefinition> |
TaskConfigurationUtils.getNewTaskList(List<TaskDefinition> originalTasks,
TaskDefinition toMove,
long beforeId,
long afterId,
boolean isFinal) |
Modifier and Type | Method and Description |
---|---|
static void |
TaskConfigurationUtils.addTaskDefinitionsToConfig(List<TaskDefinition> taskDefinitions,
org.apache.commons.configuration.HierarchicalConfiguration config,
String taskPrefix)
Adds tasks to a build configuration
|
static List<TaskDefinition> |
TaskConfigurationUtils.addTaskToList(List<TaskDefinition> originalTasks,
TaskDefinition toAdd) |
static void |
TaskConfigurationUtils.adjustFinalisingBar(List<TaskDefinition> tasks,
long beforeId,
long afterId) |
static List<TaskDefinition> |
TaskConfigurationUtils.getNewTaskList(List<TaskDefinition> originalTasks,
TaskDefinition toMove,
long beforeId,
long afterId,
boolean isFinal) |
static long |
TaskConfigurationUtils.getUniqueId(List<TaskDefinition> tasks)
Returns id of task that is not used in provided list.
|
Modifier and Type | Method and Description |
---|---|
static Map<PlanKey,ChainStorageTag> |
StorageTagUtils.gatherNeededStorageTags(StorageTagService storageTagService,
List<TaskDefinition> taskDefinitions,
BuildIdentifier identifier) |
Modifier and Type | Method and Description |
---|---|
static String |
TaskAuditLogHelper.getTaskHeader(TaskManager taskManager,
TaskDefinition taskDefinition) |
static void |
TaskAuditLogHelper.logTaskConfigurationChanges(AuditLogService auditLogService,
TaskManager taskManager,
Key planKey,
TaskDefinition taskDefinition,
Map<String,String> oldConfiguration,
String oldDescription,
boolean oldIsEnabled) |
Modifier and Type | Method and Description |
---|---|
List<TaskDefinition> |
ImmutableJobImpl.getTaskDefinitions() |
Modifier and Type | Class and Description |
---|---|
class |
DecoratedTaskDefinitionImpl<T extends TaskContainer>
Decoration of task used when displaying on the UI.
|
Constructor and Description |
---|
DecoratedTaskDefinitionImpl(TaskDefinition taskDefinition,
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 |
---|---|
Set<Requirement> |
AntBuildTaskConfigurator.calculateRequirements(TaskDefinition taskDefinition) |
Map<String,String> |
AntBuildTaskConfigurator.generateTaskConfigMap(ActionParametersMap params,
TaskDefinition previousTaskDefinition) |
void |
AntBuildTaskConfigurator.populateContextForEdit(Map<String,Object> context,
TaskDefinition taskDefinition) |
boolean |
AntBuildTaskConfigurator.taskProducesTestResults(TaskDefinition taskDefinition) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
ArtifactDownloaderTaskConfigurator.generateTaskConfigMap(ActionParametersMap params,
TaskDefinition previousTaskDefinition) |
void |
ArtifactDownloaderTaskConfigurator.populateContextForEdit(Map<String,Object> context,
TaskDefinition taskDefinition) |
Map<String,String> |
ArtifactDownloaderRuntimeDataProvider.populateRuntimeTaskData(TaskDefinition taskDefinition,
CommonContext commonContext) |
void |
ArtifactDownloaderRuntimeDataProvider.processRuntimeTaskData(TaskDefinition taskDefinition,
CommonContext commonContext) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.bamboo.specs.api.builders.task.Task |
CleanWorkingDirectoryTaskExporter.toSpecsEntity(TaskDefinition taskDefinition) |
com.atlassian.bamboo.specs.api.builders.task.Task |
ArtifactDownloaderTaskExporter.toSpecsEntity(TaskDefinition taskDefinition) |
Modifier and Type | Method and Description |
---|---|
Set<Requirement> |
CommandBuildTaskConfigurator.calculateRequirements(TaskDefinition taskDefinition) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.bamboo.specs.api.builders.task.Task |
CommandTaskExporter.toSpecsEntity(TaskDefinition taskDefinition) |
Modifier and Type | Method and Description |
---|---|
Set<Requirement> |
GrailsTaskConfigurator.calculateRequirements(TaskDefinition taskDefinition,
Job job) |
Map<String,String> |
GrailsTaskConfigurator.generateTaskConfigMap(ActionParametersMap params,
TaskDefinition previousTaskDefinition) |
void |
GrailsTaskConfigurator.populateContextForEdit(Map<String,Object> context,
TaskDefinition taskDefinition) |
boolean |
GrailsTaskConfigurator.taskProducesTestResults(TaskDefinition taskDefinition) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.bamboo.specs.api.builders.task.Task |
MavenTaskExporter.toSpecsEntity(TaskDefinition taskDefinition) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
MavenDependenciesProcessorTaskConfigurator.generateTaskConfigMap(ActionParametersMap params,
TaskDefinition previousTaskDefinition) |
void |
MavenDependenciesProcessorTaskConfigurator.populateContextForEdit(Map<String,Object> context,
TaskDefinition taskDefinition) |
Modifier and Type | Method and Description |
---|---|
Set<Requirement> |
Maven2BuildTaskConfigurator.calculateRequirements(TaskDefinition taskDefinition) |
Set<Requirement> |
Maven3BuildTaskConfigurator.calculateRequirements(TaskDefinition taskDefinition) |
Set<Requirement> |
Maven1BuildTaskConfigurator.calculateRequirements(TaskDefinition taskDefinition) |
Set<Requirement> |
AbstractMavenBuildTaskConfigurator.calculateRequirements(TaskDefinition taskDefinition) |
Map<String,String> |
Maven2BuildTaskConfigurator.generateTaskConfigMap(ActionParametersMap params,
TaskDefinition previousTaskDefinition) |
Map<String,String> |
Maven3BuildTaskConfigurator.generateTaskConfigMap(ActionParametersMap params,
TaskDefinition previousTaskDefinition) |
Map<String,String> |
Maven1BuildTaskConfigurator.generateTaskConfigMap(ActionParametersMap params,
TaskDefinition previousTaskDefinition) |
Map<String,String> |
AbstractMavenBuildTaskConfigurator.generateTaskConfigMap(ActionParametersMap params,
TaskDefinition previousTaskDefinition) |
void |
AbstractMavenBuildTaskConfigurator.populateContextForEdit(Map<String,Object> context,
TaskDefinition taskDefinition) |
boolean |
AbstractMavenBuildTaskConfigurator.taskProducesTestResults(TaskDefinition taskDefinition) |
Modifier and Type | Method and Description |
---|---|
Set<Requirement> |
PhpUnitBuildTaskConfigurator.calculateRequirements(TaskDefinition taskDefinition,
Job job) |
Map<String,String> |
PhpUnitBuildTaskConfigurator.generateTaskConfigMap(ActionParametersMap params,
TaskDefinition previousTaskDefinition) |
void |
PhpUnitBuildTaskConfigurator.populateContextForEdit(Map<String,Object> context,
TaskDefinition taskDefinition) |
boolean |
PhpUnitBuildTaskConfigurator.taskProducesTestResults(TaskDefinition taskDefinition) |
Modifier and Type | Method and Description |
---|---|
static Set<Requirement> |
PhpUnitBuildTaskHelper.calculateRequirements(TaskConfiguratorHelper taskConfiguratorHelper,
TaskDefinition taskDefinition) |
Modifier and Type | Method and Description |
---|---|
void |
ScriptBuildTaskConfigurator.populateContextForEdit(Map<String,Object> context,
TaskDefinition taskDefinition) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.bamboo.specs.api.builders.task.Task |
ScriptTaskExporter.toSpecsEntity(TaskDefinition taskDefinition) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
AbstractShellCommandTaskConfigurator.generateTaskConfigMap(ActionParametersMap params,
TaskDefinition previousTaskDefinition) |
void |
AbstractShellCommandTaskConfigurator.populateContextForEdit(Map<String,Object> context,
TaskDefinition taskDefinition) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
TestResultsParserTaskConfigurator.generateTaskConfigMap(ActionParametersMap params,
TaskDefinition previousTaskDefinition) |
void |
TestResultsParserTaskConfigurator.populateContextForEdit(Map<String,Object> context,
TaskDefinition taskDefinition) |
boolean |
TestResultsParserTaskConfigurator.taskProducesTestResults(TaskDefinition taskDefinition) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.bamboo.specs.api.builders.task.Task |
TestParserTaskExporter.toSpecsEntity(TaskDefinition taskDefinition) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
InjectVariablesTaskConfigurator.generateTaskConfigMap(ActionParametersMap params,
TaskDefinition previousTaskDefinition) |
void |
InjectVariablesTaskConfigurator.populateContextForEdit(Map<String,Object> context,
TaskDefinition taskDefinition) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
VcsBranchingTaskConfigurator.generateTaskConfigMap(ActionParametersMap params,
TaskDefinition previousTaskDefinition) |
Map<String,String> |
VcsCheckoutTaskConfigurator.generateTaskConfigMap(ActionParametersMap params,
TaskDefinition previousTaskDefinition) |
Map<String,String> |
VcsTaggingTaskConfigurator.generateTaskConfigMap(ActionParametersMap params,
TaskDefinition previousTaskDefinition) |
void |
VcsBranchingTaskConfigurator.populateContextForEdit(Map<String,Object> context,
TaskDefinition taskDefinition) |
void |
VcsCheckoutTaskConfigurator.populateContextForEdit(Map<String,Object> context,
TaskDefinition taskDefinition) |
void |
VcsTaggingTaskConfigurator.populateContextForEdit(Map<String,Object> context,
TaskDefinition taskDefinition) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.bamboo.specs.api.builders.task.Task |
VcsCheckoutTaskExporter.toSpecsEntity(TaskDefinition taskDefinition) |
com.atlassian.bamboo.specs.api.builders.task.Task |
VcsBranchingTaskExporter.toSpecsEntity(TaskDefinition taskDefinition) |
com.atlassian.bamboo.specs.api.builders.task.Task |
VcsTaggingTaskExporter.toSpecsEntity(TaskDefinition taskDefinition) |
Modifier and Type | Method and Description |
---|---|
Map<ImmutableJob,List<TaskDefinition>> |
RepositoryConfigurationServiceImpl.getRelevantJobsForRepositoryIdChange(ImmutablePlan plan,
long repositoryId) |
Map<ImmutableJob,List<TaskDefinition>> |
RepositoryConfigurationService.getRelevantJobsForRepositoryIdChange(ImmutablePlan plan,
long repositoryId)
Deprecated.
Returns mapping between
Job and TaskDefinition for tasks using repository by given repository id |
Modifier and Type | Method and Description |
---|---|
List<TaskDefinition> |
RestEnvironment.getTaskDefinitions() |
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(PlanKey planKey,
TaskModuleDescriptor taskDescriptor,
String userDescription,
boolean isEnabled,
Map<String,String> configuration,
TaskRootDirectorySelector taskRootDirectorySelector) |
TaskDefinition |
TaskConfigurationService.createTask(PlanKey planKey,
TaskModuleDescriptor taskDescriptor,
String userDescription,
boolean isEnabled,
Map<String,String> configuration,
TaskRootDirectorySelector taskRootDirectorySelector)
Create a task Definition and save it against the plan
|
TaskDefinition |
TaskConfigurationServiceImpl.editTask(PlanKey planKey,
long taskId,
String userDescription,
boolean isEnabled,
Map<String,String> taskConfigurationMap,
TaskRootDirectorySelector taskRootDirectorySelector) |
TaskDefinition |
TaskConfigurationService.editTask(PlanKey planKey,
long taskId,
String userDescription,
boolean isEnabled,
Map<String,String> taskConfigurationMap,
TaskRootDirectorySelector taskRootDirectorySelector)
Update the details of specific taskDefinition
|
protected TaskDefinition |
TaskConfigurationServiceImpl.getTaskById(List<TaskDefinition> tasks,
long id) |
TaskDefinition |
TaskConfigurationServiceImpl.setTaskState(PlanKey planKey,
long taskId,
boolean disabled) |
TaskDefinition |
TaskConfigurationService.setTaskState(PlanKey planKey,
long taskId,
boolean isEnabled)
Update the disable state of specific taskDefinition
|
Modifier and Type | Method and Description |
---|---|
List<TaskDefinition> |
TaskConfigurationServiceImpl.getRelevantTasksForRepositoryId(ImmutableJob job,
long repositoryId) |
List<TaskDefinition> |
TaskConfigurationService.getRelevantTasksForRepositoryId(ImmutableJob job,
long repositoryId)
Return relevant
TaskDefinition for given Job and repositoryId |
com.atlassian.fugue.Option<TaskDefinition> |
TaskConfiguratorHelperImpl.getTaskDefinition(ActionParametersMap params) |
com.atlassian.fugue.Option<TaskDefinition> |
TaskConfiguratorHelper.getTaskDefinition(ActionParametersMap params)
Get the task definition for the task defined in the parameter map.
|
List<TaskDefinition> |
TaskContainer.getTaskDefinitions() |
List<TaskDefinition> |
TaskConfiguratorHelperImpl.getTaskDefinitions(ActionParametersMap params) |
List<TaskDefinition> |
TaskConfiguratorHelper.getTaskDefinitions(ActionParametersMap params)
Get all the task definitions for the job or environment defined in the parameter map.
|
List<TaskDefinition> |
TaskContextHelperServiceImpl.getTasks(ActionParametersMap params) |
List<TaskDefinition> |
TaskContextHelperService.getTasks(ActionParametersMap params) |
List<TaskDefinition> |
TaskContextHelperServiceImpl.getTasks(Map<String,Object> context) |
List<TaskDefinition> |
TaskContextHelperService.getTasks(Map<String,Object> context) |
List<TaskDefinition> |
TaskContextHelperServiceImpl.getTasksBeforeTaskId(Map<String,Object> context,
long taskId) |
List<TaskDefinition> |
TaskContextHelperService.getTasksBeforeTaskId(Map<String,Object> context,
long taskId) |
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(TaskDefinition taskDefinition)
Get a predicate that returns true for
TaskDefinition which has equal id |
static com.google.common.base.Predicate<TaskDefinition> |
TaskPredicates.isConfigurationFieldEqual(String key,
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(Set<Requirement> requirements,
TaskDefinition taskDefinition,
String cfgJdkLabel) |
void |
TaskConfiguratorHelper.addJdkRequirement(Set<Requirement> requirements,
TaskDefinition taskDefinition,
String cfgJdkLabel)
Add JDK requirement if JDK was defined in task configuration
|
void |
RuntimeTaskContextImpl.addRuntimeContextForTask(TaskDefinition taskDefinition,
Map<String,String> taskContext) |
void |
RuntimeTaskContext.addRuntimeContextForTask(TaskDefinition taskDefinition,
Map<String,String> taskContext)
Deprecated.
|
void |
TaskConfiguratorHelperImpl.addSystemRequirementFromConfiguration(Set<Requirement> requirements,
TaskDefinition taskDefinition,
String cfgKey,
String requirementPrefix) |
void |
TaskConfiguratorHelper.addSystemRequirementFromConfiguration(Set<Requirement> requirements,
TaskDefinition taskDefinition,
String cfgKey,
String requirementPrefix)
Add Executable requirement if Executable was defined in task configuration
|
Set<Requirement> |
TaskRequirementSupport.calculateRequirements(TaskDefinition taskDefinition)
Populates the
RequirementSet needed based off of the TaskDefinition |
Set<Requirement> |
AbstractTaskConfigurator.calculateRequirements(TaskDefinition taskDefinition,
Buildable job)
Deprecated.
since 5.0
|
Set<Requirement> |
AbstractTaskConfigurator.calculateRequirements(TaskDefinition taskDefinition,
Job job) |
Set<Requirement> |
BuildTaskRequirementSupport.calculateRequirements(TaskDefinition taskDefinition,
Job job)
Populates the
RequirementSet needed based off of the TaskDefinition |
void |
TaskManagerImpl.calculateRequirementsForTaskDefinition(Job job,
TaskDefinition taskDefinition) |
void |
TaskManager.calculateRequirementsForTaskDefinition(Job job,
TaskDefinition taskDefinition)
Attempts to add
Requirement s 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(RequirementSet requirementSet,
TaskDefinition taskDefinition,
Supplier<Set<Requirement>> requirementSupplier) |
void |
TaskManager.calculateRequirementsForTaskDefinition(RequirementSet requirementSet,
TaskDefinition taskDefinition,
Supplier<Set<Requirement>> requirementSupplier)
Attempts to add
Requirement s to the specified RequirementSet . |
Requirement |
TaskConfiguratorHelperImpl.createRequirementFromConfiguration(TaskDefinition taskDefinition,
String cfgKey) |
Requirement |
TaskConfiguratorHelper.createRequirementFromConfiguration(TaskDefinition taskDefinition,
String cfgKey)
Creates a new Executable requirement if Executable was defined in task configuration
|
Map<String,String> |
AbstractTaskConfigurator.generateTaskConfigMap(ActionParametersMap params,
TaskDefinition previousTaskDefinition) |
Map<String,String> |
TaskConfigurator.generateTaskConfigMap(ActionParametersMap params,
TaskDefinition previousTaskDefinition)
Convert the params from the ui into a config map to be stored in the database for the taskDefinition.
|
Map<String,String> |
RuntimeTaskContextImpl.getRuntimeContextForTask(TaskDefinition taskDefinition) |
Map<String,String> |
RuntimeTaskContext.getRuntimeContextForTask(TaskDefinition taskDefinition)
Deprecated.
|
static com.google.common.base.Predicate<TaskDefinition> |
TaskPredicates.hasTaskDefinitionEqualId(TaskDefinition taskDefinition)
Get a predicate that returns true for
TaskDefinition which has equal id |
void |
AbstractTaskConfigurator.populateContextForEdit(Map<String,Object> context,
TaskDefinition taskDefinition) |
void |
TaskConfigurator.populateContextForEdit(Map<String,Object> context,
TaskDefinition taskDefinition)
Provide any required context to be used when rendering the freemarker template for view editing a task definition
|
void |
AbstractTaskConfigurator.populateContextForView(Map<String,Object> context,
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(Map<String,Object> context,
TaskDefinition taskDefinition,
Iterable<String> keys) |
void |
TaskConfiguratorHelper.populateContextWithConfiguration(Map<String,Object> context,
TaskDefinition taskDefinition,
Iterable<String> keys)
Populate Freemarker context with selected data from task configuration.
|
Map<String,String> |
RuntimeTaskDataProvider.populateRuntimeTaskData(TaskDefinition taskDefinition,
CommonContext commonContext)
Server side pre-build action that may be implemented by task.
|
void |
RuntimeTaskDataProvider.processRuntimeTaskData(TaskDefinition taskDefinition,
CommonContext commonContext)
Deprecated.
|
TaskState |
QuarantineTaskResultProcessor.recalculateTaskState(TaskContext taskContext,
TaskResult taskResult,
TaskDefinition taskDefinition) |
TaskState |
TaskResultProcessor.recalculateTaskState(TaskContext taskContext,
TaskResult taskResult,
TaskDefinition taskDefinition)
Recalculate the
TaskState of a given task and its' result. |
void |
TaskManagerImpl.removeRequirementsForTaskDefinition(Buildable buildable,
TaskDefinition taskDefinition) |
void |
TaskManager.removeRequirementsForTaskDefinition(Buildable buildable,
TaskDefinition taskDefinition)
Removes all the
Requirement s that belong to the TaskDefinition |
void |
TaskManagerImpl.removeRequirementsForTaskDefinition(RequirementSet requirementSet,
TaskDefinition taskDefinition) |
void |
TaskManager.removeRequirementsForTaskDefinition(RequirementSet requirementSet,
TaskDefinition taskDefinition)
Removes all the
Requirement s that belong to the TaskDefinition |
boolean |
TaskManagerImpl.taskProducesTestResults(TaskDefinition taskDefinition) |
boolean |
TaskTestResultsSupport.taskProducesTestResults(TaskDefinition taskDefinition)
Returns true iff task defined by TaskDefinition produces test results.
|
boolean |
TaskManager.taskProducesTestResults(TaskDefinition taskDefinition)
Return true iff task defined in
TaskDefinition is configured to produce test results. |
void |
TaskManagerImpl.updateRepositoryIdsInTask(TaskDefinition taskDefinition,
Map<Long,Long> repositoryIdChanges) |
void |
TaskManager.updateRepositoryIdsInTask(TaskDefinition taskDefinition,
Map<Long,Long> repositoryIdChanges)
Updates task configurations affected by repository edition.
|
Modifier and Type | Method and Description |
---|---|
void |
TaskConfigurationServiceImpl.createTaskList(PlanKey planKey,
List<TaskDefinition> taskDefinitions) |
void |
TaskConfigurationService.createTaskList(PlanKey planKey,
List<TaskDefinition> taskDefinitions)
Initializes task list of a plan with the provided list.
|
protected TaskDefinition |
TaskConfigurationServiceImpl.getTaskById(List<TaskDefinition> tasks,
long id) |
Constructor and Description |
---|
ImmutableTaskDefinition(TaskDefinition taskDefinition) |
Modifier and Type | Method and Description |
---|---|
List<TaskDefinition> |
LegacyBuilderToTaskConverter.builder2TaskList(BuildConfiguration buildConfiguration)
Deprecated.
Creates a list of tasks out of BuildConfiguration.
|
Modifier and Type | Method and Description |
---|---|
com.atlassian.bamboo.specs.api.builders.task.Task |
DefaultTaskDefinitionExporter.toSpecsEntity(TaskDefinition taskDefinition) |
com.atlassian.bamboo.specs.api.builders.task.Task |
TaskDefinitionExporter.toSpecsEntity(TaskDefinition taskDefinition)
Create Bamboo Specs object representing this task.
|
Modifier and Type | Method and Description |
---|---|
Set<Requirement> |
AbstractRepositoryAwareTaskConfigurator.calculateRequirements(TaskDefinition taskDefinition,
Environment environment) |
Set<Requirement> |
AbstractRepositoryAwareTaskConfigurator.calculateRequirements(TaskDefinition taskDefinition,
Job job) |
List<PlanRepositoryDefinition> |
AbstractRepositoryAwareTaskConfigurator.getPlanRepositoriesUsedByTask(TaskDefinition taskDefinition,
Environment environment) |
List<PlanRepositoryDefinition> |
AbstractRepositoryAwareTaskConfigurator.getPlanRepositoriesUsedByTask(TaskDefinition taskDefinition,
ImmutableJob job) |
static PlanRepositoryDefinition |
RepositoryTaskHelper.getPlanRepositoryByIdSelector(CommonContext buildContext,
TaskDefinition taskDefinition,
String repositoryIdSelector) |
List<RepositoryDefinition> |
AbstractRepositoryAwareTaskConfigurator.getRepositoriesUsedByTask(TaskDefinition taskDefinition,
Environment environment) |
List<RepositoryDefinition> |
AbstractRepositoryAwareTaskConfigurator.getRepositoriesUsedByTask(TaskDefinition taskDefinition,
ImmutableJob job) |
List<RepositoryDefinition> |
RepositoryAwareTaskConfigurator.getRepositoriesUsedByTask(TaskDefinition taskDefinition,
ImmutableJob job) |
static List<Result<RepositoryDefinitionException,RepositoryDefinition>> |
RepositoryTaskHelper.getRepositoriesUsedByTask(TaskDefinition taskDefinition,
List<RepositoryDefinition> repositoryDefinitionList) |
static RepositoryDefinition |
RepositoryTaskHelper.getRepositoryDefinitionByIdSelector(CommonContext buildContext,
TaskDefinition taskDefinition,
String repositoryIdSelector) |
void |
AbstractRepositoryAwareTaskConfigurator.handleRepositoryIdChanged(TaskDefinition taskDefinition,
Map<Long,Long> repositoryIdChanges) |
void |
RepositoryAwareTaskConfigurator.handleRepositoryIdChanged(TaskDefinition taskDefinition,
Map<Long,Long> repositoryIdChanges)
Action taken if repository id changed, i.e.
|
static void |
RepositoryTaskHelper.replaceRepositoryReferences(TaskDefinition taskDefinition,
Map<Long,Long> repositoryIdChanges) |
static List<PlanRepositoryDefinition> |
RepositoryTaskHelper.safeGetPlanRepositoriesUsedByTask(TaskDefinition taskDefinition,
List<PlanRepositoryDefinition> repositoryDefinitionList)
Get list of
PlanRepositoryDefinition existing in repositoryDefinitionMap and used by task |
static List<RepositoryDefinition> |
RepositoryTaskHelper.safeGetRepositoriesUsedByTask(TaskDefinition taskDefinition,
List<RepositoryDefinition> repositoryDefinitionList)
Get list of
RepositoryDefinition 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(TaskDefinition t) |
RuntimeTaskDefinitionImpl(TaskDefinition t,
Map<String,String> runtimeContext,
boolean producesTestResults) |
RuntimeTaskDefinitionImpl(TaskDefinition t,
Map<String,String> runtimeContext,
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 |
---|---|
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 |
---|---|
List<TaskDefinition> |
BuildContextImpl.getTaskDefinitions() |
List<TaskDefinition> |
CommonContext.getTaskDefinitions()
Deprecated.
since 5.9 use
CommonContext.getRuntimeTaskDefinitions() |
Modifier and Type | Method and Description |
---|---|
List<TaskDefinition> |
DeploymentRepositoryBuildContext.getTaskDefinitions() |
Modifier and Type | Method and Description |
---|---|
Map<ImmutableJob,List<TaskDefinition>> |
VcsRepositoryConfigurationServiceImpl.getRelevantJobsForRepositoryIdChange(ImmutablePlan plan,
long repositoryId) |
Map<ImmutableJob,List<TaskDefinition>> |
VcsRepositoryConfigurationService.getRelevantJobsForRepositoryIdChange(ImmutablePlan plan,
long repositoryId)
Deprecated.
since 5.14
|
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 TaskDefinition |
ConfigureBuildTasks.getTaskById(ImmutablePlan plan,
long id) |
TaskDefinition |
EditTask.getTaskDefinition() |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
TaskUIConfigBean.getTaskConfigurationMap(TaskModuleDescriptor taskDescriptor,
TaskDefinition previousTaskDefinition) |
String |
TaskUIConfigBean.prepareEditHtml(TaskModuleDescriptor taskDescriptor,
TaskDefinition taskDefinition,
TaskRenderMode renderMode,
TaskOwner taskOwner) |
Constructor and Description |
---|
DecoratedTaskManipulationResult(TaskDefinition taskDefinition,
TaskModuleDescriptor taskModuleDescriptor,
com.google.common.collect.Multimap<String,String> requirementConflicts,
T taskContainer) |
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.