public class UIConfigBeanImpl extends Object implements UIConfigBean
UIConfigSupport.| Constructor and Description |
|---|
UIConfigBeanImpl(WebRepositoryViewerManager webRepositoryViewerManager,
BuildStrategyManager buildStrategyManager,
RepositoryManager repositoryManager,
ProjectManager projectManager,
BambooLicenseManager bambooLicenseManager,
PlanManager planManager,
JdkManager jdkManager,
TaskManager taskManager,
com.opensymphony.xwork2.TextProvider textProvider,
RepositoryDefinitionManager repositoryDefinitionManager) |
public UIConfigBeanImpl(WebRepositoryViewerManager webRepositoryViewerManager, BuildStrategyManager buildStrategyManager, RepositoryManager repositoryManager, ProjectManager projectManager, BambooLicenseManager bambooLicenseManager, PlanManager planManager, JdkManager jdkManager, TaskManager taskManager, com.opensymphony.xwork2.TextProvider textProvider, RepositoryDefinitionManager repositoryDefinitionManager)
public int getCurrentPlanCount()
getCurrentPlanCount in interface UIConfigSupportpublic 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<BuildStrategy> getBuildStrategies()
getBuildStrategies in interface UIConfigSupport@NotNull public String getBuildStrategyName(@NotNull String buildStrategyKey)
getBuildStrategyName in interface UIConfigSupport@NotNull public Collection<BuildStrategy> getBuildStrategies(boolean sourceControlUsed)
getBuildStrategies in interface UIConfigSupportsourceControlUsed - iff true result will include strategies implementing RepositoryAwareBuildStrategy@NotNull public Collection<BuildStrategy> getBuildStrategiesForCreate(boolean sourceControlUsed)
getBuildStrategiesForCreate in interface UIConfigBeangetBuildStrategiesForCreate in interface UIConfigSupportsourceControlUsed - iff true result will include strategies implementing RepositoryAwareBuildStrategy@NotNull public Collection<BuildStrategy> getTriggerTypes(@NotNull Class<? extends Triggerable> triggerableType)
getTriggerTypes in interface UIConfigSupport@NotNull public Collection<BuildStrategy> getTriggerTypes(@NotNull Class<? extends Triggerable> triggerableType, boolean sourceControlUsed)
getTriggerTypes in interface UIConfigSupportsourceControlUsed - iff true result will include strategies implementing RepositoryAwareBuildStrategy@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 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<RepositoryOption> getPrimaryRepositoriesForCreate()
@NotNull public List<RepositoryOption> getNonPrimaryRepositoriesForCreate()
@NotNull public List<RepositoryOption> getLinkedRepositoriesForCreate()
@NotNull public List<RepositoryOption> getRepositoriesForEdit(@Nullable ImmutablePlan plan, @Nullable String selectedRepository)
getAvailableGlobalRepositories(ImmutablePlan, String)plan - selectedRepository - key (id) of currently selected repositorypublic boolean requiresRepositoryDataOnView(@NotNull
Repository repository)
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.