public class UIConfigSupportImpl extends Object implements UIConfigSupport
UIConfigSupport.| Constructor and Description |
|---|
UIConfigSupportImpl(BambooLicenseManager bambooLicenseManager,
BambooUserManager bambooUserManager,
BuildStrategyManager buildStrategyManager,
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, BuildStrategyManager buildStrategyManager, 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 Collection<Project> getExistingProjects()
getExistingProjects in interface UIConfigSupport@NotNull public Collection<Project> getExistingProjectsForPlanCreation()
getExistingProjectsForPlanCreation in interface UIConfigSupport@Nullable public String getFirstProjectKey()
getFirstProjectKey in interface UIConfigSupport@Nullable public String getFirstProjectKeyForPlanCreation()
getFirstProjectKeyForPlanCreation in interface UIConfigSupport@NotNull public List<WebRepositoryViewer> getWebRepositoryViewers()
getWebRepositoryViewers in interface UIConfigSupport@NotNull public Collection<BuildTriggerCondition> getBuildTriggerConditions()
getBuildTriggerConditions in interface UIConfigSupport@NotNull public Map<String,String> getDeploymentTriggerBranchSelectionOptions()
getDeploymentTriggerBranchSelectionOptions in interface UIConfigSupport@NotNull public Collection<NameValuePair> getFilterOptions()
getFilterOptions in interface UIConfigSupport@NotNull public Map<String,String> getExecutableLabelTypeMap()
getExecutableLabelTypeMap in interface UIConfigSupport@NotNull public Map<String,String> getExecutableLabelTypeMap(@NotNull String... shortKey)
getExecutableLabelTypeMap in interface UIConfigSupport@NotNull public Map<String,String> getCapabilityKeyToLabelMap(@NotNull String... executableType)
getCapabilityKeyToLabelMap in interface UIConfigSupportpublic static String capabilityKeyToExecutableLabel(String capabilityKey)
public static String capabilityKeyToExecutableType(String capabilityKey)
@NotNull public List<String> getExecutableLabels(@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 String getPollingTypeName(@NotNull String pollingTypeKey)
getPollingTypeName in interface UIConfigSupport@NotNull public List<String> getJdkLabels()
Collection of all JDK labels available in the system.getJdkLabels in interface UIConfigSupportpublic boolean isJdkLabelValid(@Nullable
String label)
isJdkLabelValid in interface UIConfigSupportpublic String getDefaultJdkLabel()
getDefaultJdkLabel in interface UIConfigSupport@NotNull public List<Repository> getRepositories()
getRepositories in interface UIConfigSupport@NotNull public List<StandaloneRepository> getStandaloneRepositories()
getStandaloneRepositories in interface UIConfigSupport@NotNull public List<com.atlassian.user.Group> getAvailableGroups()
getAvailableGroups in interface UIConfigSupport@NotNull public List<String> getAvailableUserNames()
getAvailableUserNames in interface UIConfigSupportpublic boolean requiresRepositoryDataOnView(@NotNull
Repository repository)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.