Uses of Interface
com.atlassian.bamboo.task.TaskDefinition
-
-
Uses of TaskDefinition in com.atlassian.bamboo.build
Fields in com.atlassian.bamboo.build with type parameters of type TaskDefinition Modifier and Type Field Description protected List<TaskDefinition>
DefaultBuildDefinition. taskDefinitions
Methods in com.atlassian.bamboo.build that return types with arguments of type TaskDefinition Modifier and Type Method Description @NotNull List<TaskDefinition>
BuildDefinition. getTaskDefinitions()
All tasks defined for this build.@NotNull List<TaskDefinition>
DefaultBuildDefinition. getTaskDefinitions()
@NotNull List<TaskDefinition>
DefaultJob. getTaskDefinitions()
@Nullable List<TaskDefinition>
PartialBuildDefinition. getTaskDefinitions()
Method parameters in com.atlassian.bamboo.build with type arguments of type TaskDefinition Modifier and Type Method Description void
BuildDefinition. setTaskDefinitions(@NotNull List<TaskDefinition> taskDefinitions)
void
DefaultBuildDefinition. setTaskDefinitions(@NotNull List<TaskDefinition> taskConfigs)
-
Uses of TaskDefinition in com.atlassian.bamboo.configuration.external.helpers
Methods in com.atlassian.bamboo.configuration.external.helpers that return TaskDefinition Modifier and Type Method Description @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.@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.Methods in com.atlassian.bamboo.configuration.external.helpers with parameters of type TaskDefinition Modifier and Type Method Description @NotNull com.atlassian.bamboo.specs.api.builders.task.Task
TaskDefinitionExportHelper. toSpecsEntity(TaskContainer taskContainer, TaskDefinition taskDefinition)
Method parameters in com.atlassian.bamboo.configuration.external.helpers with type arguments of type TaskDefinition Modifier and Type Method 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. -
Uses of TaskDefinition in com.atlassian.bamboo.credentials
Methods in com.atlassian.bamboo.credentials with parameters of type TaskDefinition Modifier and Type Method Description static Map<String,String>
CredentialsConfigFunctions. taskDefinitionToConfigMap(TaskDefinition taskDefinition)
static ConfigurableSharedCredentialDepender
CredentialsDependerFunctions. taskDefinitionToCredentialsDepender(TaskDefinition taskDefinition)
-
Uses of TaskDefinition in com.atlassian.bamboo.deployments.environments
Methods in com.atlassian.bamboo.deployments.environments that return types with arguments of type TaskDefinition Modifier and Type Method Description @NotNull List<TaskDefinition>
Environment. getTaskDefinitions()
@NotNull List<TaskDefinition>
EnvironmentImpl. getTaskDefinitions()
@NotNull List<TaskDefinition>
EnvironmentWithConfigCounts. getTaskDefinitions()
@NotNull Supplier<List<TaskDefinition>>
EnvironmentImpl. getTaskDefinitionsSupplier()
@NotNull Supplier<List<TaskDefinition>>
EnvironmentWithConfigCounts. getTaskDefinitionsSupplier()
@NotNull Supplier<List<TaskDefinition>>
InternalEnvironment. getTaskDefinitionsSupplier()
Return (possibly lazy) supplier of tasks.Methods in com.atlassian.bamboo.deployments.environments with parameters of type TaskDefinition Modifier and Type Method Description @NotNull Set<Requirement>
DeploymentTaskRequirementSupport. calculateRequirements(@NotNull TaskDefinition taskDefinition, @NotNull Environment environment)
Populates theRequirementSet
needed based off of theTaskDefinition
@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. -
Uses of TaskDefinition in com.atlassian.bamboo.deployments.environments.actions
Methods in com.atlassian.bamboo.deployments.environments.actions that return TaskDefinition Modifier and Type Method Description protected @Nullable TaskDefinition
ConfigureEnvironmentTasks. getTaskById(long id)
-
Uses of TaskDefinition in com.atlassian.bamboo.deployments.environments.actions.tasks
Fields in com.atlassian.bamboo.deployments.environments.actions.tasks declared as TaskDefinition Modifier and Type Field Description protected TaskDefinition
EditEnvironmentTask. taskDefinition
Methods in com.atlassian.bamboo.deployments.environments.actions.tasks that return TaskDefinition Modifier and Type Method Description TaskDefinition
EditEnvironmentTask. getTaskDefinition()
-
Uses of TaskDefinition in com.atlassian.bamboo.deployments.environments.dashboard
Methods in com.atlassian.bamboo.deployments.environments.dashboard that return types with arguments of type TaskDefinition Modifier and Type Method Description @NotNull List<TaskDefinition>
EnvironmentStubImpl. getTaskDefinitions()
@NotNull Supplier<List<TaskDefinition>>
EnvironmentStubImpl. getTaskDefinitionsSupplier()
-
Uses of TaskDefinition in com.atlassian.bamboo.deployments.environments.persistence
Fields in com.atlassian.bamboo.deployments.environments.persistence with type parameters of type TaskDefinition Modifier and Type Field Description static javax.persistence.metamodel.ListAttribute<MutableEnvironmentImpl,TaskDefinition>
MutableEnvironmentImpl_. taskDefinitions
Methods in com.atlassian.bamboo.deployments.environments.persistence that return types with arguments of type TaskDefinition Modifier and Type Method Description @NotNull List<TaskDefinition>
EnvironmentStubDto. getTaskDefinitions()
@NotNull List<TaskDefinition>
MutableEnvironmentImpl. getTaskDefinitions()
static @NotNull Supplier<List<TaskDefinition>>
EnvironmentLazyReferencesFactory. getTaskDefinitionsSupplier(@Nullable String tasksXmlData)
@NotNull Supplier<List<TaskDefinition>>
EnvironmentStubDto. getTaskDefinitionsSupplier()
@NotNull Supplier<List<TaskDefinition>>
MutableEnvironmentImpl. getTaskDefinitionsSupplier()
-
Uses of TaskDefinition in com.atlassian.bamboo.deployments.environments.persistence.internal
Methods in com.atlassian.bamboo.deployments.environments.persistence.internal that return types with arguments of type TaskDefinition Modifier and Type Method Description @NotNull List<TaskDefinition>
InternalEnvironmentImpl. getTaskDefinitions()
@NotNull Supplier<List<TaskDefinition>>
InternalEnvironmentImpl. getTaskDefinitionsSupplier()
-
Uses of TaskDefinition in com.atlassian.bamboo.deployments.environments.service
Methods in com.atlassian.bamboo.deployments.environments.service that return TaskDefinition Modifier and Type Method Description 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 environmentTaskDefinition
EnvironmentTaskService. createTask(long environmentId, @NotNull TaskModuleDescriptor taskDescriptor, @Nullable String userDescription, boolean isEnabled, @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 List<TaskConditionConfig> conditions, @NotNull Map<String,String> configuration)
@NotNull TaskDefinition
EnvironmentTaskServiceImpl. createTask(long environmentId, @NotNull TaskModuleDescriptor taskDescriptor, @Nullable String userDescription, boolean isEnabled, @NotNull Map<String,String> configuration)
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 environmentTaskDefinition
EnvironmentTaskService. editTask(long environmentId, long taskId, String userDescription, boolean isEnabled, Map<String,String> taskConfigurationMap)
Edit an existing task in the environmentTaskDefinition
EnvironmentTaskServiceImpl. editTask(long environmentId, long taskId, String userDescription, boolean isEnabled, @NotNull List<TaskConditionConfig> conditions, Map<String,String> taskConfigurationMap)
TaskDefinition
EnvironmentTaskServiceImpl. editTask(long environmentId, long taskId, String userDescription, boolean isEnabled, Map<String,String> taskConfigurationMap)
protected @Nullable TaskDefinition
EnvironmentTaskServiceImpl. getTaskById(@NotNull List<TaskDefinition> tasks, long id)
Method parameters in com.atlassian.bamboo.deployments.environments.service with type arguments of type TaskDefinition Modifier and Type Method Description protected @Nullable TaskDefinition
EnvironmentTaskServiceImpl. getTaskById(@NotNull List<TaskDefinition> tasks, long id)
-
Uses of TaskDefinition in com.atlassian.bamboo.deployments.environments.task
Methods in com.atlassian.bamboo.deployments.environments.task with parameters of type TaskDefinition Modifier and Type Method Description @NotNull Supplier<Set<Requirement>>
EnvironmentTaskRequirementsHelper. getEnvironmentRequirementsSupplier(@NotNull Environment environment, @NotNull TaskDefinition taskDefinition)
Calculates requirements for a task definition that is part of a job.Supplier<Set<Requirement>>
EnvironmentTaskRequirementsHelperImpl. getEnvironmentRequirementsSupplier(@NotNull Environment environment, @NotNull TaskDefinition taskDefinition)
-
Uses of TaskDefinition in com.atlassian.bamboo.deployments.execution
Constructor parameters in com.atlassian.bamboo.deployments.execution with type arguments of type TaskDefinition Constructor Description DeploymentContextImpl(@NotNull DeploymentProject deploymentProject, @NotNull DeploymentResult deploymentResult, @NotNull List<TaskDefinition> taskDefinitions, @NotNull Map<String,String> artifactHandlerConfiguration, @NotNull VariableContext variableContext, Map<Long,PlanRepositoryDefinition> planRepositoryDefinitionMap, com.google.common.collect.Multimap<String,Artifact> versionArtifacts, @Nullable DeploymentVersion previousVersion, @NotNull Iterable<CredentialsData> sharedCredentials, @NotNull Map<PlanKey,ChainStorageTag> necessaryStorageTags, @NotNull Map<String,Map<String,String>> pluginConfigMap, @NotNull DockerPipelineConfiguration dockerPipelineConfiguration, @NotNull CommonArtifactContext commonArtifactContext, boolean isVerboseLoggingOn, boolean expectingDedicatedEphemeralAgent)
-
Uses of TaskDefinition in com.atlassian.bamboo.event.analytics
Constructors in com.atlassian.bamboo.event.analytics with parameters of type TaskDefinition Constructor Description TaskBuildStartedAnalyticsEvent(@NotNull TaskDefinition taskDefinition)
-
Uses of TaskDefinition in com.atlassian.bamboo.fieldvalue
Methods in com.atlassian.bamboo.fieldvalue that return types with arguments of type TaskDefinition Modifier and Type Method 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)
static @NotNull List<TaskDefinition>
TaskConfigurationUtils. getTaskDefinitionsFromConfig(String taskPrefix, org.apache.commons.configuration.HierarchicalConfiguration fromConfig)
Retrieves tasks from build configurationstatic @NotNull Optional<List<TaskDefinition>>
TaskConfigurationUtils. replaceCapabilityLabelInTasks(@NotNull List<TaskDefinition> taskDefinitions, @NotNull String keyToReplace, @NotNull String oldCapabilityLabel, @NotNull String newCapabilityLabel, @NotNull String oldCapabilityKey, @NotNull String newCapabilityKey)
Replaces references to a capability in tasks from the list with a new capability key.Methods in com.atlassian.bamboo.fieldvalue with parameters of type TaskDefinition Modifier and Type Method 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)
Method parameters in com.atlassian.bamboo.fieldvalue with type arguments of type TaskDefinition Modifier and Type Method Description static void
TaskConfigurationUtils. addTaskDefinitionsToConfig(@Nullable List<TaskDefinition> taskDefinitions, @NotNull org.apache.commons.configuration.HierarchicalConfiguration config, @NotNull String taskPrefix)
Adds tasks to a build configurationstatic @NotNull List<TaskDefinition>
TaskConfigurationUtils. addTaskToList(@NotNull List<TaskDefinition> originalTasks, @NotNull TaskDefinition toAdd)
static void
TaskConfigurationUtils. adjustFinalisingBar(@NotNull List<TaskDefinition> tasks, long beforeId, long afterId)
static @NotNull List<TaskDefinition>
TaskConfigurationUtils. getNewTaskList(@NotNull List<TaskDefinition> originalTasks, @NotNull TaskDefinition toMove, long beforeId, long afterId, boolean isFinal)
static long
TaskConfigurationUtils. getUniqueId(@NotNull List<TaskDefinition> tasks)
Returns id of task that is not used in provided list.static @NotNull Optional<List<TaskDefinition>>
TaskConfigurationUtils. replaceCapabilityLabelInTasks(@NotNull List<TaskDefinition> taskDefinitions, @NotNull String keyToReplace, @NotNull String oldCapabilityLabel, @NotNull String newCapabilityLabel, @NotNull String oldCapabilityKey, @NotNull String newCapabilityKey)
Replaces references to a capability in tasks from the list with a new capability key. -
Uses of TaskDefinition in com.atlassian.bamboo.fileserver
Method parameters in com.atlassian.bamboo.fileserver with type arguments of type TaskDefinition Modifier and Type Method Description static Map<PlanKey,ChainStorageTag>
StorageTagUtils. gatherNeededStorageTags(@NotNull StorageTagService storageTagService, @Nullable List<TaskDefinition> taskDefinitions, @Nullable BuildIdentifier identifier)
-
Uses of TaskDefinition in com.atlassian.bamboo.persister
Methods in com.atlassian.bamboo.persister with parameters of type TaskDefinition Modifier and Type Method 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)
-
Uses of TaskDefinition in com.atlassian.bamboo.plan.cache
Methods in com.atlassian.bamboo.plan.cache that return types with arguments of type TaskDefinition Modifier and Type Method Description @NotNull List<TaskDefinition>
ImmutableJobImpl. getTaskDefinitions()
-
Uses of TaskDefinition in com.atlassian.bamboo.plan.task
Classes in com.atlassian.bamboo.plan.task that implement TaskDefinition Modifier and Type Class Description class
DecoratedTaskDefinitionImpl<T extends TaskContainer>
Decoration of task used when displaying on the UI.Constructors in com.atlassian.bamboo.plan.task with parameters of type TaskDefinition Constructor Description DecoratedTaskDefinitionImpl(@NotNull TaskDefinition taskDefinition, @Nullable TaskModuleDescriptor taskModuleDescriptor, T taskContainer)
-
Uses of TaskDefinition in com.atlassian.bamboo.plugin
Methods in com.atlassian.bamboo.plugin with type parameters of type TaskDefinition Modifier and Type Method Description static <T extends TaskDefinition>
Iterable<T>BambooPluginUtils. filterEnabledTasks(Iterable<T> taskDefinitions, String pluginKey)
static <T extends TaskDefinition>
Iterable<T>BambooPluginUtils. filterTasks(Iterable<T> taskDefinitions, com.google.common.base.Predicate<TaskDefinition>... predicates)
Methods in com.atlassian.bamboo.plugin that return types with arguments of type TaskDefinition Modifier and Type Method Description static Iterable<TaskDefinition>
BambooPluginUtils. filterEnabledTasks(BuildContext buildContext, String pluginKey)
static Iterable<TaskDefinition>
BambooPluginUtils. filterTasks(ImmutableJob job, String pluginKey)
static Iterable<TaskDefinition>
BambooPluginUtils. filterTasks(BuildContext buildContext, String pluginKey)
static Iterable<TaskDefinition>
BambooPluginUtils. filterTasks(Iterable<TaskDefinition> taskDefinitions, String pluginKey)
Method parameters in com.atlassian.bamboo.plugin with type arguments of type TaskDefinition Modifier and Type Method Description static Iterable<TaskDefinition>
BambooPluginUtils. filterTasks(Iterable<TaskDefinition> taskDefinitions, String pluginKey)
-
Uses of TaskDefinition in com.atlassian.bamboo.plugins.ant.export
Methods in com.atlassian.bamboo.plugins.ant.export with parameters of type TaskDefinition Modifier and Type Method Description @NotNull com.atlassian.bamboo.specs.builders.task.AntTask
AntTaskExporter. toSpecsEntity(@NotNull TaskDefinition taskDefinition)
-
Uses of TaskDefinition in com.atlassian.bamboo.plugins.ant.task.configuration
Methods in com.atlassian.bamboo.plugins.ant.task.configuration with parameters of type TaskDefinition Modifier and Type Method 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)
-
Uses of TaskDefinition in com.atlassian.bamboo.plugins.artifact
Methods in com.atlassian.bamboo.plugins.artifact with parameters of type TaskDefinition Modifier and Type Method 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)
-
Uses of TaskDefinition in com.atlassian.bamboo.plugins.artifact.export
Methods in com.atlassian.bamboo.plugins.artifact.export with parameters of type TaskDefinition Modifier and Type Method Description @NotNull com.atlassian.bamboo.specs.builders.task.ArtifactDownloaderTask
ArtifactDownloaderTaskExporter. toSpecsEntity(@NotNull TaskContainer taskContainer, @NotNull TaskDefinition taskDefinition)
@NotNull com.atlassian.bamboo.specs.builders.task.ArtifactDownloaderTask
ArtifactDownloaderTaskExporter. toSpecsEntity(@NotNull TaskDefinition taskDefinition)
@NotNull com.atlassian.bamboo.specs.builders.task.CleanWorkingDirectoryTask
CleanWorkingDirectoryTaskExporter. toSpecsEntity(TaskDefinition taskDefinition)
Method parameters in com.atlassian.bamboo.plugins.artifact.export with type arguments of type TaskDefinition Modifier and Type Method Description @NotNull Map<String,String>
ArtifactDownloaderTaskExporter. toTaskConfiguration(@NotNull TaskContainer taskContainer, @NotNull List<TaskDefinition> precedingTasks, @NotNull com.atlassian.bamboo.specs.api.model.task.TaskProperties taskProperties, @Nullable VcsBranch importedBranch)
-
Uses of TaskDefinition in com.atlassian.bamboo.plugins.command.task.configuration
Methods in com.atlassian.bamboo.plugins.command.task.configuration with parameters of type TaskDefinition Modifier and Type Method Description @NotNull Set<Requirement>
CommandBuildTaskConfigurator. calculateRequirements(@NotNull TaskDefinition taskDefinition)
@NotNull Map<String,String>
CommandTaskRuntimeDataProvider. populateRuntimeTaskData(@NotNull TaskDefinition taskDefinition, @NotNull CommonContext commonContext)
-
Uses of TaskDefinition in com.atlassian.bamboo.plugins.command.task.export
Methods in com.atlassian.bamboo.plugins.command.task.export with parameters of type TaskDefinition Modifier and Type Method Description @NotNull com.atlassian.bamboo.specs.builders.task.CommandTask
CommandTaskExporter. toSpecsEntity(TaskDefinition taskDefinition)
-
Uses of TaskDefinition in com.atlassian.bamboo.plugins.grails
Methods in com.atlassian.bamboo.plugins.grails with parameters of type TaskDefinition Modifier and Type Method 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)
-
Uses of TaskDefinition in com.atlassian.bamboo.plugins.maven
Methods in com.atlassian.bamboo.plugins.maven with parameters of type TaskDefinition Modifier and Type Method Description @NotNull com.atlassian.bamboo.specs.builders.task.MavenTask
MavenTaskExporter. toSpecsEntity(@NotNull TaskDefinition taskDefinition)
-
Uses of TaskDefinition in com.atlassian.bamboo.plugins.maven.dependencies.configuration
Methods in com.atlassian.bamboo.plugins.maven.dependencies.configuration with parameters of type TaskDefinition Modifier and Type Method Description @NotNull Map<String,String>
MavenDependenciesProcessorTaskConfigurator. generateTaskConfigMap(@NotNull ActionParametersMap params, @Nullable TaskDefinition previousTaskDefinition)
void
MavenDependenciesProcessorTaskConfigurator. populateContextForEdit(@NotNull Map<String,Object> context, @NotNull TaskDefinition taskDefinition)
-
Uses of TaskDefinition in com.atlassian.bamboo.plugins.maven.dependencies.exporter
Methods in com.atlassian.bamboo.plugins.maven.dependencies.exporter with parameters of type TaskDefinition Modifier and Type Method Description @NotNull com.atlassian.bamboo.specs.api.builders.task.Task
MavenDependenciesProcessorTaskExporter. toSpecsEntity(@NotNull TaskDefinition taskDefinition)
-
Uses of TaskDefinition in com.atlassian.bamboo.plugins.maven.task.configuration
Methods in com.atlassian.bamboo.plugins.maven.task.configuration with parameters of type TaskDefinition Modifier and Type Method Description @NotNull Set<Requirement>
AbstractMavenBuildTaskConfigurator. calculateRequirements(@NotNull TaskDefinition taskDefinition)
@NotNull Set<Requirement>
Maven1BuildTaskConfigurator. calculateRequirements(@NotNull TaskDefinition taskDefinition)
@NotNull Set<Requirement>
Maven2BuildTaskConfigurator. calculateRequirements(@NotNull TaskDefinition taskDefinition)
@NotNull Set<Requirement>
Maven3BuildTaskConfigurator. calculateRequirements(@NotNull TaskDefinition taskDefinition)
@NotNull Map<String,String>
AbstractMavenBuildTaskConfigurator. generateTaskConfigMap(@NotNull ActionParametersMap params, @Nullable TaskDefinition previousTaskDefinition)
@NotNull Map<String,String>
Maven1BuildTaskConfigurator. generateTaskConfigMap(@NotNull ActionParametersMap params, @Nullable TaskDefinition previousTaskDefinition)
@NotNull Map<String,String>
Maven2BuildTaskConfigurator. generateTaskConfigMap(@NotNull ActionParametersMap params, @Nullable TaskDefinition previousTaskDefinition)
@NotNull Map<String,String>
Maven3BuildTaskConfigurator. generateTaskConfigMap(@NotNull ActionParametersMap params, @Nullable TaskDefinition previousTaskDefinition)
void
AbstractMavenBuildTaskConfigurator. populateContextForEdit(@NotNull Map<String,Object> context, @NotNull TaskDefinition taskDefinition)
boolean
AbstractMavenBuildTaskConfigurator. taskProducesTestResults(@NotNull TaskDefinition taskDefinition)
-
Uses of TaskDefinition in com.atlassian.bamboo.plugins.php.task.configuration
Methods in com.atlassian.bamboo.plugins.php.task.configuration with parameters of type TaskDefinition Modifier and Type Method 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)
-
Uses of TaskDefinition in com.atlassian.bamboo.plugins.php.task.utils
Methods in com.atlassian.bamboo.plugins.php.task.utils with parameters of type TaskDefinition Modifier and Type Method Description static @NotNull Set<Requirement>
PhpUnitBuildTaskHelper. calculateRequirements(@NotNull TaskConfiguratorHelper taskConfiguratorHelper, @NotNull TaskDefinition taskDefinition)
-
Uses of TaskDefinition in com.atlassian.bamboo.plugins.script.task.configuration
Methods in com.atlassian.bamboo.plugins.script.task.configuration with parameters of type TaskDefinition Modifier and Type Method Description void
ScriptBuildTaskConfigurator. populateContextForEdit(@NotNull Map<String,Object> context, @NotNull TaskDefinition taskDefinition)
-
Uses of TaskDefinition in com.atlassian.bamboo.plugins.script.task.export
Methods in com.atlassian.bamboo.plugins.script.task.export with parameters of type TaskDefinition Modifier and Type Method Description @NotNull com.atlassian.bamboo.specs.builders.task.ScriptTask
ScriptTaskExporter. toSpecsEntity(@NotNull TaskDefinition taskDefinition)
-
Uses of TaskDefinition in com.atlassian.bamboo.plugins.shell.configuration
Methods in com.atlassian.bamboo.plugins.shell.configuration with parameters of type TaskDefinition Modifier and Type Method Description @NotNull Map<String,String>
AbstractShellCommandTaskConfigurator. generateTaskConfigMap(@NotNull ActionParametersMap params, @Nullable TaskDefinition previousTaskDefinition)
void
AbstractShellCommandTaskConfigurator. populateContextForEdit(@NotNull Map<String,Object> context, @NotNull TaskDefinition taskDefinition)
-
Uses of TaskDefinition in com.atlassian.bamboo.plugins.testresultparser.task.configuration
Methods in com.atlassian.bamboo.plugins.testresultparser.task.configuration with parameters of type TaskDefinition Modifier and Type Method 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)
-
Uses of TaskDefinition in com.atlassian.bamboo.plugins.testresultparser.task.exporter
Methods in com.atlassian.bamboo.plugins.testresultparser.task.exporter with parameters of type TaskDefinition Modifier and Type Method 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)
-
Uses of TaskDefinition in com.atlassian.bamboo.plugins.testutils.generator
Methods in com.atlassian.bamboo.plugins.testutils.generator with parameters of type TaskDefinition Modifier and Type Method Description @NotNull Map<String,String>
TestResultGeneratorTaskConfigurator. generateTaskConfigMap(@NotNull ActionParametersMap params, @Nullable TaskDefinition previousTaskDefinition)
void
TestResultGeneratorTaskConfigurator. populateContextForEdit(@NotNull Map<String,Object> context, @NotNull TaskDefinition taskDefinition)
boolean
TestResultGeneratorTaskConfigurator. taskProducesTestResults(@NotNull TaskDefinition taskDefinition)
-
Uses of TaskDefinition in com.atlassian.bamboo.plugins.variable.export
Methods in com.atlassian.bamboo.plugins.variable.export with parameters of type TaskDefinition Modifier and Type Method Description @NotNull com.atlassian.bamboo.specs.builders.task.DumpVariablesTask
DumpVariablesTaskExporter. toSpecsEntity(@NotNull TaskDefinition taskDefinition)
@NotNull com.atlassian.bamboo.specs.builders.task.InjectVariablesTask
InjectVariablesTaskExporter. toSpecsEntity(@NotNull TaskDefinition taskDefinition)
-
Uses of TaskDefinition in com.atlassian.bamboo.plugins.variable.inject
Methods in com.atlassian.bamboo.plugins.variable.inject with parameters of type TaskDefinition Modifier and Type Method Description @NotNull Map<String,String>
InjectVariablesTaskConfigurator. generateTaskConfigMap(@NotNull ActionParametersMap params, @Nullable TaskDefinition previousTaskDefinition)
void
InjectVariablesTaskConfigurator. populateContextForEdit(@NotNull Map<String,Object> context, @NotNull TaskDefinition taskDefinition)
-
Uses of TaskDefinition in com.atlassian.bamboo.plugins.vcs.task.configuration
Methods in com.atlassian.bamboo.plugins.vcs.task.configuration with parameters of type TaskDefinition Modifier and Type Method 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)
void
VcsTagTaskConfigurator. populateContextForEdit(@NotNull Map<String,Object> context, @NotNull TaskDefinition taskDefinition)
-
Uses of TaskDefinition in com.atlassian.bamboo.plugins.vcs.task.export
Methods in com.atlassian.bamboo.plugins.vcs.task.export with parameters of type TaskDefinition Modifier and Type Method Description protected <P extends com.atlassian.bamboo.specs.model.task.BaseVcsTaskProperties,B extends com.atlassian.bamboo.specs.builders.task.BaseVcsTask<B,P>>
BAbstractVcsTaskExporter. baseVcsTaskToSpecsEntity(@NotNull TaskDefinition taskDefinition, B specsEntity)
Implementation ofTaskDefinitionExporter.toSpecsEntity(TaskDefinition)
for exporters ofBaseVcsTaskProperties
.@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)
@NotNull com.atlassian.bamboo.specs.builders.task.VcsCommitTask
VcsCommitTaskExporter. toSpecsEntity(@NotNull TaskDefinition taskDefinition)
@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)
-
Uses of TaskDefinition in com.atlassian.bamboo.repository
Methods in com.atlassian.bamboo.repository with parameters of type TaskDefinition Modifier and Type Method 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)
-
Uses of TaskDefinition in com.atlassian.bamboo.rest.model.deployments.environments
Methods in com.atlassian.bamboo.rest.model.deployments.environments that return types with arguments of type TaskDefinition Modifier and Type Method Description @NotNull List<TaskDefinition>
RestEnvironment. getTaskDefinitions()
-
Uses of TaskDefinition in com.atlassian.bamboo.task
Subinterfaces of TaskDefinition in com.atlassian.bamboo.task Modifier and Type Interface Description interface
DecoratedTaskDefinition<T extends TaskContainer>
A definition of one decorated configuration of aTaskType
Classes in com.atlassian.bamboo.task that implement TaskDefinition Modifier and Type Class Description class
ImmutableTaskDefinition
ImmutableTaskDefinition
implementationclass
TaskDefinitionImpl
Methods in com.atlassian.bamboo.task that return TaskDefinition Modifier and Type Method Description 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 planTaskDefinition
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 planTaskDefinition
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
TaskConfigurationServiceImpl. createTask(@NotNull PlanKey planKey, @NotNull TaskModuleDescriptor taskDescriptor, @Nullable String userDescription, boolean isEnabled, @NotNull Map<String,String> configuration, @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 taskDefinitionTaskDefinition
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 taskDefinitionTaskDefinition
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
TaskConfigurationServiceImpl. editTask(@NotNull PlanKey planKey, long taskId, @Nullable String userDescription, boolean isEnabled, @NotNull Map<String,String> taskConfigurationMap, @NotNull TaskRootDirectorySelector taskRootDirectorySelector)
protected @Nullable TaskDefinition
TaskConfigurationServiceImpl. getTaskById(@NotNull List<TaskDefinition> tasks, long id)
TaskDefinition
TaskConfigurationService. setTaskState(@NotNull PlanKey planKey, long taskId, boolean isEnabled)
Update the disable state of specific taskDefinitionTaskDefinition
TaskConfigurationServiceImpl. setTaskState(@NotNull PlanKey planKey, long taskId, boolean disabled)
Methods in com.atlassian.bamboo.task that return types with arguments of type TaskDefinition Modifier and Type Method Description @NotNull Optional<TaskDefinition>
TaskConfiguratorHelper. extractTaskDefinition(@NotNull ActionParametersMap params)
Get the task definition for the task defined in the parameter map.@NotNull Optional<TaskDefinition>
TaskConfiguratorHelperImpl. extractTaskDefinition(@NotNull ActionParametersMap params)
List<TaskDefinition>
TaskConfigurationService. getRelevantTasksForRepositoryId(@NotNull ImmutableJob job, long repositoryId)
Return relevantTaskDefinition
for givenJob
and repositoryIdList<TaskDefinition>
TaskConfigurationServiceImpl. getRelevantTasksForRepositoryId(@NotNull ImmutableJob job, long repositoryId)
@NotNull Optional<TaskDefinition>
TaskConfiguratorHelper. getTaskDefinition(@NotNull ActionParametersMap params)
Deprecated.@NotNull Optional<TaskDefinition>
TaskConfiguratorHelperImpl. getTaskDefinition(@NotNull ActionParametersMap params)
@NotNull List<TaskDefinition>
TaskConfiguratorHelper. getTaskDefinitions(ActionParametersMap params)
Get all the task definitions for the job or environment defined in the parameter map.@NotNull List<TaskDefinition>
TaskConfiguratorHelperImpl. getTaskDefinitions(ActionParametersMap params)
@NotNull List<TaskDefinition>
TaskContainer. getTaskDefinitions()
@NotNull List<TaskDefinition>
TaskContextHelperService. getTasks(@NotNull ActionParametersMap params)
@NotNull List<TaskDefinition>
TaskContextHelperService. getTasks(@NotNull Map<String,Object> context)
@NotNull List<TaskDefinition>
TaskContextHelperServiceImpl. getTasks(@NotNull ActionParametersMap params)
@NotNull List<TaskDefinition>
TaskContextHelperServiceImpl. getTasks(@NotNull Map<String,Object> context)
@NotNull List<TaskDefinition>
TaskContextHelperService. getTasksBeforeTaskId(@NotNull Map<String,Object> context, long taskId)
@NotNull List<TaskDefinition>
TaskContextHelperServiceImpl. getTasksBeforeTaskId(@NotNull Map<String,Object> context, long taskId)
static com.google.common.base.Predicate<TaskDefinition>
TaskPredicates. hasTaskDefinitionEqualId(long id)
Get a predicate that returns true forTaskDefinition
which has equal idstatic com.google.common.base.Predicate<TaskDefinition>
TaskPredicates. hasTaskDefinitionEqualId(@NotNull TaskDefinition taskDefinition)
Get a predicate that returns true forTaskDefinition
which has equal idstatic 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 parameterstatic 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 forTaskDefinition
which is enabledMethods in com.atlassian.bamboo.task with parameters of type TaskDefinition Modifier and Type Method Description void
TaskConfiguratorHelper. addJdkRequirement(@NotNull Set<Requirement> requirements, @NotNull TaskDefinition taskDefinition, @NotNull String cfgJdkLabel)
Add JDK requirement if JDK was defined in task configurationvoid
TaskConfiguratorHelperImpl. addJdkRequirement(@NotNull Set<Requirement> requirements, @NotNull TaskDefinition taskDefinition, @NotNull String cfgJdkLabel)
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 configurationvoid
TaskConfiguratorHelperImpl. addSystemRequirementFromConfiguration(@NotNull Set<Requirement> requirements, @NotNull TaskDefinition taskDefinition, @NotNull String cfgKey, @NotNull String requirementPrefix)
Set<Requirement>
AbstractTaskConfigurator. calculateRequirements(@NotNull TaskDefinition taskDefinition, @NotNull Buildable job)
Deprecated.since 5.0Set<Requirement>
AbstractTaskConfigurator. calculateRequirements(@NotNull TaskDefinition taskDefinition, @NotNull Job job)
@NotNull Set<Requirement>
BuildTaskRequirementSupport. calculateRequirements(@NotNull TaskDefinition taskDefinition, @NotNull Job job)
Populates theRequirementSet
needed based off of theTaskDefinition
@NotNull Set<Requirement>
TaskRequirementSupport. calculateRequirements(@NotNull TaskDefinition taskDefinition)
Populates theRequirementSet
needed based off of theTaskDefinition
void
TaskManager. calculateRequirementsForTaskDefinition(@NotNull Job job, @NotNull TaskDefinition taskDefinition)
Attempts to addRequirement
s to the specifiedBuildable
if theTaskConfigurator
is an implementor ofBuildTaskRequirementSupport
If requirements are already present for the specifiedTaskDefinition
they will be removed and recalculatedvoid
TaskManager. calculateRequirementsForTaskDefinition(@NotNull Job job, @NotNull TaskDefinition taskDefinition, boolean dockerPipelinesEnabled)
Attempts to addRequirement
s to the specifiedBuildable
if theTaskConfigurator
is an implementor ofBuildTaskRequirementSupport
If requirements are already present for the specifiedTaskDefinition
they will be removed and recalculatedvoid
TaskManager. calculateRequirementsForTaskDefinition(@NotNull RequirementSet requirementSet, @NotNull TaskDefinition taskDefinition, Supplier<Set<Requirement>> requirementSupplier)
Deprecated.void
TaskManager. calculateRequirementsForTaskDefinition(@NotNull RequirementSet requirementSet, @NotNull TaskDefinition taskDefinition, Supplier<Set<Requirement>> requirementSupplier, boolean dockerPipelinesEnabled)
Attempts to addRequirement
s to the specifiedRequirementSet
.void
TaskManagerImpl. calculateRequirementsForTaskDefinition(@NotNull Job job, @NotNull TaskDefinition taskDefinition)
void
TaskManagerImpl. calculateRequirementsForTaskDefinition(@NotNull Job job, @NotNull TaskDefinition taskDefinition, boolean dockerPipelinesEnabled)
void
TaskManagerImpl. calculateRequirementsForTaskDefinition(@NotNull RequirementSet requirementSet, @NotNull TaskDefinition taskDefinition, Supplier<Set<Requirement>> requirementSupplier)
void
TaskManagerImpl. calculateRequirementsForTaskDefinition(@NotNull RequirementSet requirementSet, @NotNull TaskDefinition taskDefinition, Supplier<Set<Requirement>> requirementSupplier, boolean dockerPipelinesEnabled)
@Nullable Requirement
TaskConfiguratorHelper. createRequirementFromConfiguration(@NotNull TaskDefinition taskDefinition, @NotNull String cfgKey)
Creates a new Executable requirement if Executable was defined in task configuration@Nullable Requirement
TaskConfiguratorHelperImpl. createRequirementFromConfiguration(@NotNull TaskDefinition taskDefinition, @NotNull String cfgKey)
@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 forTaskDefinition
which has equal idvoid
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 definitionvoid
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 executedvoid
TaskConfiguratorHelper. populateContextWithConfiguration(@NotNull Map<String,Object> context, @NotNull TaskDefinition taskDefinition, @NotNull Iterable<String> keys)
Populate Freemarker context with selected data from task configuration.void
TaskConfiguratorHelperImpl. populateContextWithConfiguration(@NotNull Map<String,Object> context, @NotNull TaskDefinition taskDefinition, @NotNull Iterable<String> keys)
@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 theTaskState
of a given task and its' result.void
TaskManager. removeRequirementsForTaskDefinition(@NotNull Buildable buildable, @NotNull TaskDefinition taskDefinition)
Removes all theRequirement
s that belong to theTaskDefinition
void
TaskManager. removeRequirementsForTaskDefinition(@NotNull RequirementSet requirementSet, @NotNull TaskDefinition taskDefinition)
Removes all theRequirement
s that belong to theTaskDefinition
void
TaskManagerImpl. removeRequirementsForTaskDefinition(@NotNull Buildable buildable, @NotNull TaskDefinition taskDefinition)
void
TaskManagerImpl. removeRequirementsForTaskDefinition(@NotNull RequirementSet requirementSet, @NotNull TaskDefinition taskDefinition)
boolean
TaskManager. taskProducesTestResults(@NotNull TaskDefinition taskDefinition)
Return true iff task defined inTaskDefinition
is configured to produce test results.boolean
TaskManagerImpl. taskProducesTestResults(@NotNull TaskDefinition taskDefinition)
boolean
TaskTestResultsSupport. taskProducesTestResults(@NotNull TaskDefinition taskDefinition)
Returns true iff task defined by TaskDefinition produces test results.void
TaskManager. updateRepositoryIdsInTask(@NotNull TaskDefinition taskDefinition, @NotNull Map<Long,Long> repositoryIdChanges)
Updates task configurations affected by repository edition.void
TaskManagerImpl. updateRepositoryIdsInTask(@NotNull TaskDefinition taskDefinition, @NotNull Map<Long,Long> repositoryIdChanges)
Method parameters in com.atlassian.bamboo.task with type arguments of type TaskDefinition Modifier and Type Method Description void
TaskConfigurationService. createTaskList(PlanKey planKey, @NotNull List<TaskDefinition> taskDefinitions)
Initializes task list of a plan with the provided list.void
TaskConfigurationServiceImpl. createTaskList(PlanKey planKey, @NotNull List<TaskDefinition> taskDefinitions)
protected @Nullable TaskDefinition
TaskConfigurationServiceImpl. getTaskById(@NotNull List<TaskDefinition> tasks, long id)
Constructors in com.atlassian.bamboo.task with parameters of type TaskDefinition Constructor Description ImmutableTaskDefinition(@NotNull TaskDefinition taskDefinition)
-
Uses of TaskDefinition in com.atlassian.bamboo.task.conversion
Methods in com.atlassian.bamboo.task.conversion that return types with arguments of type TaskDefinition Modifier and Type Method Description @NotNull List<TaskDefinition>
LegacyBuilderToTaskConverter. builder2TaskList(@NotNull BuildConfiguration buildConfiguration)
Deprecated.Creates a list of tasks out of BuildConfiguration. -
Uses of TaskDefinition in com.atlassian.bamboo.task.export
Methods in com.atlassian.bamboo.task.export with parameters of type TaskDefinition Modifier and Type Method Description @NotNull com.atlassian.bamboo.specs.api.builders.task.Task
DefaultTaskDefinitionExporter. toSpecsEntity(TaskDefinition taskDefinition)
default <T extends com.atlassian.bamboo.specs.api.builders.task.Task<T,P>,P extends com.atlassian.bamboo.specs.api.model.task.TaskProperties>
TTaskDefinitionExporter. toSpecsEntity(@NotNull TaskContainer taskContainer, @NotNull TaskDefinition taskDefinition)
Create Bamboo Specs object representing this task.<T extends com.atlassian.bamboo.specs.api.builders.task.Task<T,P>,P extends com.atlassian.bamboo.specs.api.model.task.TaskProperties>
TTaskDefinitionExporter. toSpecsEntity(@NotNull TaskDefinition taskDefinition)
Create Bamboo Specs object representing this task.Method parameters in com.atlassian.bamboo.task.export with type arguments of type TaskDefinition Modifier and Type Method Description default @NotNull Map<String,String>
TaskDefinitionExporter. toTaskConfiguration(@NotNull TaskContainer taskContainer, @NotNull List<TaskDefinition> precedingTasks, @NotNull com.atlassian.bamboo.specs.api.model.task.TaskProperties taskProperties)
Converts properties to Bamboo task configuration.default @NotNull Map<String,String>
TaskDefinitionExporter. toTaskConfiguration(@NotNull TaskContainer taskContainer, @NotNull List<TaskDefinition> precedingTasks, @NotNull com.atlassian.bamboo.specs.api.model.task.TaskProperties taskProperties, @Nullable VcsBranch importedBranch)
Converts properties to Bamboo task configuration. -
Uses of TaskDefinition in com.atlassian.bamboo.task.repository
Methods in com.atlassian.bamboo.task.repository with parameters of type TaskDefinition Modifier and Type Method Description @NotNull Set<Requirement>
AbstractRepositoryAwareTaskConfigurator. calculateRequirements(@NotNull TaskDefinition taskDefinition, @NotNull Job job)
@NotNull Set<Requirement>
AbstractRepositoryAwareTaskConfigurator. calculateRequirements(@NotNull TaskDefinition taskDefinition, @NotNull Environment environment)
@NotNull List<PlanRepositoryDefinition>
AbstractRepositoryAwareTaskConfigurator. getPlanRepositoriesUsedByTask(@NotNull TaskDefinition taskDefinition, @NotNull InternalEnvironment environment)
@NotNull List<PlanRepositoryDefinition>
AbstractRepositoryAwareTaskConfigurator. getPlanRepositoriesUsedByTask(@NotNull TaskDefinition taskDefinition, @NotNull ImmutableJob job)
@NotNull List<PlanRepositoryDefinition>
RepositoryAwareTaskConfigurator. getPlanRepositoriesUsedByTask(@NotNull TaskDefinition taskDefinition, @NotNull ImmutableJob job)
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 useRepositoryAwareTaskConfigurator.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 ofPlanRepositoryDefinition
existing in repositoryDefinitionMap and used by task -
Uses of TaskDefinition in com.atlassian.bamboo.task.runtime
Subinterfaces of TaskDefinition in com.atlassian.bamboo.task.runtime Modifier and Type Interface Description interface
RuntimeTaskDefinition
Task definition extended with runtime informationClasses in com.atlassian.bamboo.task.runtime that implement TaskDefinition Modifier and Type Class Description class
RuntimeTaskDefinitionImpl
Constructors in com.atlassian.bamboo.task.runtime with parameters of type TaskDefinition Constructor 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)
-
Uses of TaskDefinition in com.atlassian.bamboo.upgrade.tasks
Methods in com.atlassian.bamboo.upgrade.tasks with parameters of type TaskDefinition Modifier and Type Method Description protected abstract boolean
AbstractTaskConfigurationUpgradeTask. updateTaskDefinition(TaskDefinition taskDefinition)
Update task definition. -
Uses of TaskDefinition in com.atlassian.bamboo.utils
Methods in com.atlassian.bamboo.utils that return types with arguments of type TaskDefinition Modifier and Type Method 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" -
Uses of TaskDefinition in com.atlassian.bamboo.vcs.configuration.service
Methods in com.atlassian.bamboo.vcs.configuration.service that return types with arguments of type TaskDefinition Modifier and Type Method Description Map<ImmutableJob,List<TaskDefinition>>
VcsRepositoryConfigurationService. getRelevantJobsForRepositoryIdChange(@NotNull ImmutablePlan plan, long repositoryId)
Deprecated.since 5.14Map<ImmutableJob,List<TaskDefinition>>
VcsRepositoryConfigurationServiceImpl. getRelevantJobsForRepositoryIdChange(@NotNull ImmutablePlan plan, long repositoryId)
-
Uses of TaskDefinition in com.atlassian.bamboo.warnings
Methods in com.atlassian.bamboo.warnings with parameters of type TaskDefinition Modifier and Type Method 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)
-
Uses of TaskDefinition in com.atlassian.bamboo.warnings.export
Methods in com.atlassian.bamboo.warnings.export with parameters of type TaskDefinition Modifier and Type Method Description @NotNull com.atlassian.bamboo.specs.builders.task.BuildWarningParserTask
WarningsTaskExporter. toSpecsEntity(@NotNull TaskDefinition taskDefinition)
-
Uses of TaskDefinition in com.atlassian.bamboo.ww2.actions.build.admin.config.repository
Methods in com.atlassian.bamboo.ww2.actions.build.admin.config.repository that return types with arguments of type TaskDefinition Modifier and Type Method Description Map<ImmutableJob,List<TaskDefinition>>
DeleteRepository. getRelevantJobsUsingRepository()
Methods in com.atlassian.bamboo.ww2.actions.build.admin.config.repository with parameters of type TaskDefinition Modifier and Type Method Description String
DeleteRepository. getTaskName(TaskDefinition taskDefinition)
Method parameters in com.atlassian.bamboo.ww2.actions.build.admin.config.repository with type arguments of type TaskDefinition Modifier and Type Method Description Integer
DeleteRepository. getTasksCount(Map<Job,List<TaskDefinition>> tasks)
-
Uses of TaskDefinition in com.atlassian.bamboo.ww2.actions.build.admin.config.task
Fields in com.atlassian.bamboo.ww2.actions.build.admin.config.task declared as TaskDefinition Modifier and Type Field Description protected TaskDefinition
ConfigureBuildTasks. taskDefinition
Methods in com.atlassian.bamboo.ww2.actions.build.admin.config.task that return TaskDefinition Modifier and Type Method Description protected @Nullable TaskDefinition
ConfigureBuildTasks. getTaskById(@NotNull ImmutablePlan plan, long id)
TaskDefinition
EditTask. getTaskDefinition()
Methods in com.atlassian.bamboo.ww2.actions.build.admin.config.task with parameters of type TaskDefinition Modifier and Type Method 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)
Constructors in com.atlassian.bamboo.ww2.actions.build.admin.config.task with parameters of type TaskDefinition Constructor Description DecoratedTaskManipulationResult(@NotNull TaskDefinition taskDefinition, @Nullable TaskModuleDescriptor taskModuleDescriptor, @NotNull com.google.common.collect.Multimap<String,String> requirementConflicts, T taskContainer)
-