com.atlassian.bamboo.ww2.actions.build.admin.create
Class UIConfigBean

java.lang.Object
  extended by com.atlassian.bamboo.ww2.actions.build.admin.create.UIConfigBean

public class UIConfigBean
extends java.lang.Object

Provides lists of stuff for the UI.


Constructor Summary
UIConfigBean(WebRepositoryViewerManager webRepositoryViewerManager, BuildStrategyManager buildStrategyManager, RepositoryManager repositoryManager, BuilderManager builderManager, ProjectManager projectManager, BambooLicenseManager bambooLicenseManager, PlanManager planManager)
           
 
Method Summary
 java.util.List<Builder> getAllBuilders()
           
 int getAllowedNumberOfPlans()
           
 java.util.Map<java.lang.String,java.lang.String> getBuilderLabelTypeMap()
           
 java.util.Collection<Builder> getBuilderTypes()
           
 java.util.Collection<BuildStrategy> getBuildStrategies()
           
 int getCurrentPlanCount()
           
 java.util.Collection<Project> getExistingProjects()
           
 java.util.Collection<NameValuePair> getFilterOptions()
           
 java.lang.String getFirstProjectKey()
           
 java.util.List<Repository> getRepositories()
           
 java.lang.String getWebRepositoryJson()
           
 java.util.List<WebRepositoryViewer> getWebRepositoryViewers()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIConfigBean

public UIConfigBean(WebRepositoryViewerManager webRepositoryViewerManager,
                    BuildStrategyManager buildStrategyManager,
                    RepositoryManager repositoryManager,
                    BuilderManager builderManager,
                    ProjectManager projectManager,
                    BambooLicenseManager bambooLicenseManager,
                    PlanManager planManager)
Method Detail

getCurrentPlanCount

public int getCurrentPlanCount()
Returns:
the current count of plans on this instance

getAllowedNumberOfPlans

public int getAllowedNumberOfPlans()
Returns:
the number of plans that are allowed on this instance

getExistingProjects

@NotNull
public java.util.Collection<Project> getExistingProjects()
Returns:
a list of all existing projects in the bamboo system.

getFirstProjectKey

@Nullable
public java.lang.String getFirstProjectKey()

getWebRepositoryViewers

@NotNull
public java.util.List<WebRepositoryViewer> getWebRepositoryViewers()
Returns:
a list of all currently enabled web repository viewers

getBuildStrategies

@NotNull
public java.util.Collection<BuildStrategy> getBuildStrategies()
Returns:
a list of all the different build strategies available to the user to select from.

getFilterOptions

@NotNull
public java.util.Collection<NameValuePair> getFilterOptions()
Returns:
a list of change detection filter options. Filter options let you include or exclude files from triggering change detection

getRepositories

@NotNull
public java.util.List<Repository> getRepositories()
Returns:
a list of all Repository plugins currently enabled in Bamboo

getAllBuilders

@NotNull
public java.util.List<Builder> getAllBuilders()
Returns:
a list of all the builder plugins currently enabled in Bamboo

getBuilderTypes

@NotNull
public java.util.Collection<Builder> getBuilderTypes()
Returns:
a map of all builders against their Label

getBuilderLabelTypeMap

@NotNull
public java.util.Map<java.lang.String,java.lang.String> getBuilderLabelTypeMap()
Returns:
the total set of builder maps (sorted by the label). The key are the labels for the Builder and the values are LabelPathMap

getWebRepositoryJson

public java.lang.String getWebRepositoryJson()
                                      throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2010 Atlassian. All Rights Reserved.