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, JdkManager jdkManager, TaskManager taskManager)
           
 
Method Summary
 java.util.List<Builder> getAllBuilders()
          Deprecated.  
 int getAllowedNumberOfPlans()
           
 java.util.Collection<Builder> getBuilderTypes()
          Deprecated.  
 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.Map<java.lang.String,java.lang.String> getLegacyBuilderLabelTypeMap()
          Deprecated. 
 java.util.List<Pair<java.lang.String,java.lang.String>> getPollingTypes()
           
 java.util.List<Repository> getRepositories()
           
 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

UIConfigBean

public UIConfigBean(WebRepositoryViewerManager webRepositoryViewerManager,
                    BuildStrategyManager buildStrategyManager,
                    RepositoryManager repositoryManager,
                    BuilderManager builderManager,
                    ProjectManager projectManager,
                    BambooLicenseManager bambooLicenseManager,
                    PlanManager planManager,
                    JdkManager jdkManager,
                    TaskManager taskManager)
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.

getBuildStrategies

@NotNull
public java.util.Collection<BuildStrategy> getBuildStrategies(boolean sourceControlUsed)

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
@Deprecated
public java.util.List<Builder> getAllBuilders()
Deprecated. 

Returns:
a list of all the builder plugins currently enabled in Bamboo

getBuilderTypes

@NotNull
@Deprecated
public java.util.Collection<Builder> getBuilderTypes()
Deprecated. 

Returns:
a map of all builders against their Label

getExecutableLabelTypeMap

@NotNull
public java.util.Map<java.lang.String,java.lang.String> getExecutableLabelTypeMap()
Returns:
the total set of executable maps (sorted by the label).

getLegacyBuilderLabelTypeMap

@Deprecated
public java.util.Map<java.lang.String,java.lang.String> getLegacyBuilderLabelTypeMap()
Deprecated. 


getExecutableLabels

@NotNull
public java.util.List<java.lang.String> getExecutableLabels(@NotNull
                                                                    java.lang.String shortKey)

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()

getJdkLabels

@NotNull
public java.util.List<java.lang.String> getJdkLabels()
Gets a Collection of all JDK labels available in the system.

Returns:

isJdkLabelValid

public boolean isJdkLabelValid(@Nullable
                               java.lang.String label)

getDefaultJdkLabel

public java.lang.String getDefaultJdkLabel()


Copyright © 2011 Atlassian. All Rights Reserved.