public class UIConfigSupportImpl extends Object implements UIConfigSupport
UIConfigSupport.| Constructor and Description |
|---|
UIConfigSupportImpl(BambooLicenseManager bambooLicenseManager,
BambooUserManager bambooUserManager,
TriggerTypeManager triggerTypeManager,
JdkManager jdkManager,
PlanManager planManager,
ProjectManager projectManager,
RepositoryManager repositoryManager,
TaskManager taskManager,
com.opensymphony.xwork2.TextProvider textProvider,
WebRepositoryViewerManager webRepositoryViewerManager,
BambooPermissionManager bambooPermissionManager) |
@Autowired public UIConfigSupportImpl(BambooLicenseManager bambooLicenseManager, BambooUserManager bambooUserManager, TriggerTypeManager triggerTypeManager, JdkManager jdkManager, PlanManager planManager, ProjectManager projectManager, RepositoryManager repositoryManager, TaskManager taskManager, com.opensymphony.xwork2.TextProvider textProvider, WebRepositoryViewerManager webRepositoryViewerManager, BambooPermissionManager bambooPermissionManager)
public int getCurrentPlanCount()
getCurrentPlanCount in interface UIConfigSupportpublic int getAllowedNumberOfPlans()
getAllowedNumberOfPlans in interface UIConfigSupportpublic int getExistingProjectsCount()
getExistingProjectsCount in interface UIConfigSupport@NotNull public @NotNull Collection<Project> getExistingProjects()
getExistingProjects in interface UIConfigSupport@NotNull public @NotNull Collection<Project> getExistingProjectsForPlanCreation()
getExistingProjectsForPlanCreation in interface UIConfigSupport@Nullable public @Nullable String getFirstProjectKey()
getFirstProjectKey in interface UIConfigSupport@Nullable public @Nullable String getFirstProjectKeyForPlanCreation()
getFirstProjectKeyForPlanCreation in interface UIConfigSupport@NotNull public @NotNull List<WebRepositoryViewer> getWebRepositoryViewers()
getWebRepositoryViewers in interface UIConfigSupport@NotNull public @NotNull Collection<BuildTriggerCondition> getBuildTriggerConditions()
getBuildTriggerConditions in interface UIConfigSupport@NotNull public @NotNull Map<String,String> getDeploymentTriggerBranchSelectionOptions()
getDeploymentTriggerBranchSelectionOptions in interface UIConfigSupport@NotNull public @NotNull Collection<NameValuePair> getFilterOptions()
getFilterOptions in interface UIConfigSupport@NotNull public @NotNull Map<String,String> getExecutableLabelTypeMap()
getExecutableLabelTypeMap in interface UIConfigSupport@NotNull public @NotNull com.google.common.collect.Multimap<String,String> getExecutableLabelTypesMap()
getExecutableLabelTypesMap in interface UIConfigSupport@NotNull public @NotNull Map<String,String> getExecutableLabelTypeMap(@NotNull String... shortKey)
getExecutableLabelTypeMap in interface UIConfigSupport@NotNull public @NotNull Map<String,String> getCapabilityKeyToLabelMap(@NotNull String... executableType)
getCapabilityKeyToLabelMap in interface UIConfigSupportpublic static String capabilityKeyToExecutableLabel(String capabilityKey)
public static String capabilityKeyToExecutableType(String capabilityKey)
@NotNull public @NotNull List<String> getExecutableLabels(@NotNull @NotNull String shortKey)
getExecutableLabels in interface UIConfigSupportpublic String getWebRepositoryJson() throws Exception
getWebRepositoryJson in interface UIConfigSupportExceptionpublic List<Pair<String,String>> getPollingTypes()
getPollingTypes in interface UIConfigSupport@NotNull public @NotNull String getPollingTypeName(@NotNull @NotNull String pollingTypeKey)
getPollingTypeName in interface UIConfigSupport@NotNull public @NotNull List<String> getJdkLabels()
Collection of all JDK labels available in the system.getJdkLabels in interface UIConfigSupportpublic boolean isJdkLabelValid(@Nullable
@Nullable String label)
isJdkLabelValid in interface UIConfigSupportpublic String getDefaultJdkLabel()
getDefaultJdkLabel in interface UIConfigSupport@NotNull public @NotNull List<String> getLinkedRepositoryAccessOptions()
@NotNull public @NotNull List<Repository> getRepositories()
getRepositories in interface UIConfigSupport@NotNull public @NotNull List<com.atlassian.user.Group> getAvailableGroups()
getAvailableGroups in interface UIConfigSupport@NotNull public @NotNull List<String> getAvailableUserNames()
getAvailableUserNames in interface UIConfigSupportpublic boolean requiresRepositoryDataOnView(@NotNull
@NotNull Repository repository)
Copyright © 2025 Atlassian Software Systems Pty Ltd. All rights reserved.