com.atlassian.bamboo.ww2.actions.build.admin.create
Class UIConfigBean
java.lang.Object
com.atlassian.bamboo.ww2.actions.build.admin.create.UIConfigBean
public class UIConfigBean
- extends java.lang.Object
Provides lists of stuff for the UI.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UIConfigBean
public UIConfigBean(WebRepositoryViewerManager webRepositoryViewerManager,
BuildStrategyManager buildStrategyManager,
RepositoryManager repositoryManager,
BuilderManager builderManager,
ProjectManager projectManager,
BambooLicenseManager bambooLicenseManager,
PlanManager planManager)
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.
getBuildTriggerConditions
@NotNull
public java.util.Collection<BuildTriggerCondition> getBuildTriggerConditions()
- Returns:
- a list of currently available build trigger condition plugins.
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
getPollingTypes
public java.util.List<Pair<java.lang.String,java.lang.String>> getPollingTypes()
Copyright © 2011 Atlassian. All Rights Reserved.