public class VcsTagTaskConfigurator extends AbstractVcsTaskConfigurator
Modifier and Type | Field and Description |
---|---|
static String |
CFG_TAG_NAME |
CFG_AVAILABLE_REPOSITORIES, CFG_DEFAULT_REPOSITORY_KEY, CFG_DEFAULT_REPOSITORY_NAME, CFG_SUPPORTED_REPOSITORIES
environmentService, repositoryDefinitionManager, repositoryManager, textProvider, vcsRepositoryManager
bambooAuthenticationContext, taskConfiguratorHelper
Constructor and Description |
---|
VcsTagTaskConfigurator() |
Modifier and Type | Method and Description |
---|---|
void |
additionalValidate(ActionParametersMap params,
ErrorCollection errorCollection)
Additional validation required by this task.
|
protected List<String> |
getAdditionalFieldsToCopy()
Additional fields to persist to the database.
|
protected Map<String,Object> |
getDefaultFieldValues()
Default values for specified fields.
|
boolean |
isRepositoryModuleSupported(VcsRepositoryModuleDescriptor repositoryModuleDescriptor)
Whether the given repository type is eligible for this task.
|
generateTaskConfigMap, populateContextForCreate, populateContextForEdit, validate
calculateRequirements, calculateRequirements, getPlanRepositoriesUsedByTask, getPlanRepositoriesUsedByTask, getRepositoriesUsedByTask, getRepositoriesUsedByTask, handleRepositoryIdChanged, setEnvironmentService, setRepositoryDefinitionManager, setRepositoryManager, setTextProvider, setVcsRepositoryManager
calculateRequirements, getI18nBean, populateContextForView, setAuthenticationContext, setTaskConfiguratorHelper
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRepositoriesUsedByTask, handleRepositoryIdChanged
calculateRequirements
public static final String CFG_TAG_NAME
public boolean isRepositoryModuleSupported(@NotNull VcsRepositoryModuleDescriptor repositoryModuleDescriptor)
AbstractVcsTaskConfigurator
isRepositoryModuleSupported
in class AbstractVcsTaskConfigurator
@NotNull protected List<String> getAdditionalFieldsToCopy()
AbstractVcsTaskConfigurator
TaskConfigConstants.CFG_WORKING_SUB_DIRECTORY
and RepositoryTaskHelper.CFG_SELECTED_REPOSITORY
are always persisted, so they needn't be returned by this method.
Return an empty list if no additional fields are needed.getAdditionalFieldsToCopy
in class AbstractVcsTaskConfigurator
@NotNull protected Map<String,Object> getDefaultFieldValues()
AbstractVcsTaskConfigurator
getDefaultFieldValues
in class AbstractVcsTaskConfigurator
public void additionalValidate(@NotNull ActionParametersMap params, @NotNull ErrorCollection errorCollection)
AbstractVcsTaskConfigurator
TaskConfigConstants.CFG_WORKING_SUB_DIRECTORY
is
always validated.additionalValidate
in class AbstractVcsTaskConfigurator
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.