public class VcsPushTaskExporter extends AbstractVcsTaskExporter
vcsRepositoryManagerrepositoryDefinitionManager| Constructor and Description |
|---|
VcsPushTaskExporter(@NotNull RepositoryDefinitionManager repositoryDefinitionManager,
@NotNull VcsRepositoryManager vcsRepositoryManager) |
| Modifier and Type | Method and Description |
|---|---|
protected @NotNull com.atlassian.bamboo.specs.api.validators.common.ValidationContext |
getValidationContext()
Get validation context for this task type.
|
protected boolean |
isRepositoryTypeSupported(@NotNull VcsRepositoryModuleDescriptor moduleDescriptor)
Returns true if the given repository type is supported by this task type.
|
@NotNull com.atlassian.bamboo.specs.builders.task.VcsPushTask |
toSpecsEntity(@NotNull TaskDefinition taskDefinition)
Create Bamboo Specs object representing this task.
|
@NotNull Map<String,String> |
toTaskConfiguration(@NotNull TaskContainer taskContainer,
@NotNull com.atlassian.bamboo.specs.api.model.task.TaskProperties taskProperties)
Converts properties to Bamboo task configuration.
|
@NotNull List<com.atlassian.bamboo.specs.api.validators.common.ValidationProblem> |
validate(@NotNull TaskValidationContext taskValidationContext,
@NotNull com.atlassian.bamboo.specs.api.model.task.TaskProperties taskProperties)
Validates task properties in context of enclosing plan or deployment properties.
|
baseVcsTaskToConfiguration, baseVcsTaskToSpecsEntity, baseVcsTaskValidate, getTypedTaskProperties, isDefaultRepositoryRefgetNonDefaultRepositoryRef, getNonDefaultRepositoryRef, getRepositoryIdString, getRepositoryListForTaskContainer, isDefaultRepositoryRefclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfromYaml, toSpecsEntity, toTaskConfiguration, toTaskConfiguration, toYaml@Inject
public VcsPushTaskExporter(@NotNull
@NotNull RepositoryDefinitionManager repositoryDefinitionManager,
@NotNull
@NotNull VcsRepositoryManager vcsRepositoryManager)
@NotNull protected @NotNull com.atlassian.bamboo.specs.api.validators.common.ValidationContext getValidationContext()
AbstractVcsTaskExportergetValidationContext in class AbstractVcsTaskExporterprotected boolean isRepositoryTypeSupported(@NotNull
@NotNull VcsRepositoryModuleDescriptor moduleDescriptor)
AbstractVcsTaskExporterisRepositoryTypeSupported in class AbstractVcsTaskExporter@NotNull public @NotNull Map<String,String> toTaskConfiguration(@NotNull @NotNull TaskContainer taskContainer, @NotNull @NotNull com.atlassian.bamboo.specs.api.model.task.TaskProperties taskProperties)
TaskDefinitionExportertaskContainer - current task container (a job or an environment for instance)taskProperties - the current task@NotNull
public @NotNull com.atlassian.bamboo.specs.builders.task.VcsPushTask toSpecsEntity(@NotNull
@NotNull TaskDefinition taskDefinition)
TaskDefinitionExporter@NotNull public @NotNull List<com.atlassian.bamboo.specs.api.validators.common.ValidationProblem> validate(@NotNull @NotNull TaskValidationContext taskValidationContext, @NotNull @NotNull com.atlassian.bamboo.specs.api.model.task.TaskProperties taskProperties)
TaskDefinitionExporterShould check RSS permissions if necessary.
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.