public class VcsBranchTaskConfigurator extends AbstractVcsTaskConfigurator
| Modifier and Type | Field and Description |
|---|---|
static String |
CFG_BRANCH_NAME |
CFG_AVAILABLE_REPOSITORIES, CFG_DEFAULT_REPOSITORY_KEY, CFG_DEFAULT_REPOSITORY_NAME, CFG_SUPPORTED_REPOSITORIESenvironmentService, repositoryDefinitionManager, repositoryManager, textProvider, vcsRepositoryManagerbambooAuthenticationContext, taskConfiguratorHelper| Constructor and Description |
|---|
VcsBranchTaskConfigurator() |
| 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, validatecalculateRequirements, calculateRequirements, getPlanRepositoriesUsedByTask, getPlanRepositoriesUsedByTask, getRepositoriesUsedByTask, getRepositoriesUsedByTask, handleRepositoryIdChanged, setEnvironmentService, setRepositoryDefinitionManager, setRepositoryManager, setTextProvider, setVcsRepositoryManagercalculateRequirements, getI18nBean, populateContextForView, setAuthenticationContext, setTaskConfiguratorHelperclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRepositoriesUsedByTask, handleRepositoryIdChangedcalculateRequirementspublic static final String CFG_BRANCH_NAME
public boolean isRepositoryModuleSupported(@NotNull
VcsRepositoryModuleDescriptor repositoryModuleDescriptor)
AbstractVcsTaskConfiguratorisRepositoryModuleSupported in class AbstractVcsTaskConfigurator@NotNull protected List<String> getAdditionalFieldsToCopy()
AbstractVcsTaskConfiguratorTaskConfigConstants.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()
AbstractVcsTaskConfiguratorgetDefaultFieldValues in class AbstractVcsTaskConfiguratorpublic void additionalValidate(@NotNull
ActionParametersMap params,
@NotNull
ErrorCollection errorCollection)
AbstractVcsTaskConfiguratorTaskConfigConstants.CFG_WORKING_SUB_DIRECTORY is
always validated.additionalValidate in class AbstractVcsTaskConfiguratorCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.