|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.ww2.actions.build.admin.create.UIConfigBeanImpl
public class UIConfigBeanImpl
Default implementation of UIConfigSupport
.
Constructor Summary | |
---|---|
UIConfigBeanImpl(WebRepositoryViewerManager webRepositoryViewerManager,
BuildStrategyManager buildStrategyManager,
RepositoryManager repositoryManager,
ProjectManager projectManager,
BambooLicenseManager bambooLicenseManager,
PlanManager planManager,
JdkManager jdkManager,
TaskManager taskManager,
com.opensymphony.xwork.TextProvider textProvider,
RepositoryDefinitionManager repositoryDefinitionManager)
|
Method Summary | |
---|---|
int |
getAllowedNumberOfPlans()
|
java.util.List<RepositoryData> |
getAvailableGlobalRepositories(Plan plan,
java.lang.String selectedRepository)
Returns selection of the global repositories. |
java.util.Collection<BuildStrategy> |
getBuildStrategies()
|
java.util.Collection<BuildStrategy> |
getBuildStrategies(boolean sourceControlUsed)
|
java.util.Collection<BuildTriggerCondition> |
getBuildTriggerConditions()
|
int |
getCurrentPlanCount()
|
java.lang.String |
getDefaultJdkLabel()
|
java.util.List<java.lang.String> |
getExecutableLabels(java.lang.String shortKey)
|
java.util.Map<java.lang.String,java.lang.String> |
getExecutableLabelTypeMap()
|
java.util.Collection<Project> |
getExistingProjects()
|
java.util.Collection<NameValuePair> |
getFilterOptions()
|
java.lang.String |
getFirstProjectKey()
|
java.util.List<java.lang.String> |
getJdkLabels()
Gets a Collection of all JDK labels available in the system. |
java.util.List<Pair<java.lang.String,java.lang.String>> |
getPollingTypes()
|
java.util.List<Repository> |
getRepositories()
|
java.util.List<RepositoryOption> |
getRepositoriesForAdding(Plan plan,
java.lang.String selectedRepository)
Returns selection of the repository for 'Add/Edit Repository' actions. |
java.util.List<RepositoryOption> |
getRepositoriesForCreate()
|
java.util.List<StandaloneRepository> |
getStandaloneRepositories()
|
java.lang.String |
getWebRepositoryJson()
|
java.util.List<WebRepositoryViewer> |
getWebRepositoryViewers()
|
boolean |
isJdkLabelValid(java.lang.String label)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UIConfigBeanImpl(WebRepositoryViewerManager webRepositoryViewerManager, BuildStrategyManager buildStrategyManager, RepositoryManager repositoryManager, ProjectManager projectManager, BambooLicenseManager bambooLicenseManager, PlanManager planManager, JdkManager jdkManager, TaskManager taskManager, com.opensymphony.xwork.TextProvider textProvider, RepositoryDefinitionManager repositoryDefinitionManager)
Method Detail |
---|
public int getCurrentPlanCount()
getCurrentPlanCount
in interface UIConfigSupport
public int getAllowedNumberOfPlans()
getAllowedNumberOfPlans
in interface UIConfigSupport
@NotNull public java.util.Collection<Project> getExistingProjects()
getExistingProjects
in interface UIConfigSupport
@Nullable public java.lang.String getFirstProjectKey()
getFirstProjectKey
in interface UIConfigSupport
@NotNull public java.util.List<WebRepositoryViewer> getWebRepositoryViewers()
getWebRepositoryViewers
in interface UIConfigSupport
@NotNull public java.util.Collection<BuildStrategy> getBuildStrategies()
getBuildStrategies
in interface UIConfigSupport
@NotNull public java.util.Collection<BuildStrategy> getBuildStrategies(boolean sourceControlUsed)
getBuildStrategies
in interface UIConfigSupport
@NotNull public java.util.Collection<BuildTriggerCondition> getBuildTriggerConditions()
getBuildTriggerConditions
in interface UIConfigSupport
@NotNull public java.util.Collection<NameValuePair> getFilterOptions()
getFilterOptions
in interface UIConfigSupport
@NotNull public java.util.List<RepositoryOption> getRepositoriesForCreate()
@NotNull public java.util.List<Repository> getRepositories()
getRepositories
in interface UIConfigSupport
@NotNull public java.util.List<StandaloneRepository> getStandaloneRepositories()
getStandaloneRepositories
in interface UIConfigSupport
@NotNull public java.util.Map<java.lang.String,java.lang.String> getExecutableLabelTypeMap()
getExecutableLabelTypeMap
in interface UIConfigSupport
@NotNull public java.util.List<java.lang.String> getExecutableLabels(@NotNull java.lang.String shortKey)
getExecutableLabels
in interface UIConfigSupport
public java.lang.String getWebRepositoryJson() throws java.lang.Exception
getWebRepositoryJson
in interface UIConfigSupport
java.lang.Exception
public java.util.List<Pair<java.lang.String,java.lang.String>> getPollingTypes()
getPollingTypes
in interface UIConfigSupport
@NotNull public java.util.List<java.lang.String> getJdkLabels()
Collection
of all JDK labels available in the system.
getJdkLabels
in interface UIConfigSupport
public boolean isJdkLabelValid(@Nullable java.lang.String label)
isJdkLabelValid
in interface UIConfigSupport
public java.lang.String getDefaultJdkLabel()
getDefaultJdkLabel
in interface UIConfigSupport
@NotNull public java.util.List<RepositoryData> getAvailableGlobalRepositories(@Nullable Plan plan, @Nullable java.lang.String selectedRepository)
plan
- selectedRepository
- key (id) of currently selected repository
@NotNull public java.util.List<RepositoryOption> getRepositoriesForAdding(@Nullable Plan plan, @Nullable java.lang.String selectedRepository)
getAvailableGlobalRepositories(Plan, String)
plan
- selectedRepository
- key (id) of currently selected repository
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |