public class VcsCommitTaskConfigurator extends AbstractVcsTaskConfigurator
| Modifier and Type | Field and Description |
|---|---|
static String |
CFG_COMMIT_MESSAGE |
CFG_AVAILABLE_REPOSITORIES, CFG_DEFAULT_REPOSITORY_KEY, CFG_DEFAULT_REPOSITORY_NAME, CFG_SUPPORTED_REPOSITORIESenvironmentService, repositoryDefinitionManager, repositoryManager, textProvider, vcsRepositoryManagerbambooAuthenticationContext, taskConfiguratorHelper| Constructor and Description |
|---|
VcsCommitTaskConfigurator() |
| Modifier and Type | Method and Description |
|---|---|
void |
additionalValidate(@NotNull ActionParametersMap params,
@NotNull ErrorCollection errorCollection)
Additional validation required by this task.
|
protected @NotNull List<String> |
getAdditionalFieldsToCopy()
Additional fields to persist to the database.
|
protected @NotNull Map<String,Object> |
getDefaultFieldValues()
Default values for specified fields.
|
boolean |
isRepositoryModuleSupported(@NotNull 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, waitgetPlanRepositoriesUsedByTask, getRepositoriesUsedByTask, handleRepositoryIdChangedcalculateRequirementspublic static final String CFG_COMMIT_MESSAGE
@NotNull protected @NotNull 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 @NotNull Map<String,Object> getDefaultFieldValues()
AbstractVcsTaskConfiguratorgetDefaultFieldValues in class AbstractVcsTaskConfiguratorpublic boolean isRepositoryModuleSupported(@NotNull
@NotNull VcsRepositoryModuleDescriptor repositoryModuleDescriptor)
AbstractVcsTaskConfiguratorisRepositoryModuleSupported in class AbstractVcsTaskConfiguratorpublic void additionalValidate(@NotNull
@NotNull ActionParametersMap params,
@NotNull
@NotNull ErrorCollection errorCollection)
AbstractVcsTaskConfiguratorTaskConfigConstants.CFG_WORKING_SUB_DIRECTORY is
always validated.additionalValidate in class AbstractVcsTaskConfiguratorCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.