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) |
@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)
public int getCurrentPlanCount()
getCurrentPlanCount
in interface UIConfigSupport
public int getAllowedNumberOfPlans()
getAllowedNumberOfPlans
in interface UIConfigSupport
@NotNull public Collection<Project> getExistingProjects()
getExistingProjects
in interface UIConfigSupport
@Nullable public String getFirstProjectKey()
getFirstProjectKey
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 UIConfigSupport
public static String capabilityKeyToExecutableLabel(String capabilityKey)
public static String capabilityKeyToExecutableType(String capabilityKey)
@NotNull public List<String> getExecutableLabels(@NotNull String shortKey)
getExecutableLabels
in interface UIConfigSupport
public String getWebRepositoryJson() throws Exception
getWebRepositoryJson
in interface UIConfigSupport
Exception
public 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 UIConfigSupport
public boolean isJdkLabelValid(@Nullable String label)
isJdkLabelValid
in interface UIConfigSupport
public 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 UIConfigSupport
public boolean requiresRepositoryDataOnView(@NotNull Repository repository)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.