Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.atlassian.bamboo.webwork
Class StarterAction

    java.lang.Object
      ActionSupport
          com.atlassian.bamboo.ww2.BambooActionSupport
              com.atlassian.bamboo.webwork.AbstractAction
                  com.atlassian.bamboo.webwork.StarterAction

All Implemented Interfaces:
  ErrorCollection, BambooSessionAware, ReturnUrlAware

    public class StarterAction

extends AbstractAction

This class decides which starter page should be deisplayed on the web site.

If the application has not been configured, it displays the Configuration wizard.

Otherwise it displays the default home page.

Field Summary
`static String` | `WIZARD` Webwork label state we want to display the wizard view

Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
`buildManager, CONFIRM, cookieCutter`

Constructor Summary
`StarterAction()`

Method Summary
`String` | `doExecute()` Return the page to display
`Author` | `getAuthor()`
`Collection` | `getBuilds()`
`Collection` | `getFavouriteBuilds()`
`int` | `getNumberOfInstalledBuilders()` Tell the GUI how many installed builders we have
`Collection` | `getPipelines()`
`Collection` | `getResponsibleForBuilds()` Can probably write this logic better.
`boolean` | `isFavourite(Build build)`
`void` | `setBuildResultsSummaryManager(BuildResultsSummaryManager buildResultsSummaryManager)`
`void` | `setExtendedAuthorManager(ExtendedAuthorManager extendedAuthorManager)`
`void` | `setLabelManager(LabelManager labelManager)`
`void` | `setPipelineManager(PipelineManager pipelineManager)`

Methods inherited from class com.atlassian.bamboo.webwork.AbstractAction
`addFormErrors, doDefault, execute, getAction, getAdministrationConfiguration, getBamboo, getBaseUrl, setAdministrationConfiguration, validate`

Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
`addError, addError, addErrorCollection, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, doesLabelKeyHaveMatchingDescription, getAsPreformattedText, getBambooSession, getBreadCrumbs, getBuildManager, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentUrl, getDescriptionFromLabelKey, getFlushedErrorMessages, getReturnUrl, getUser, getWebItemsForSection, getWebResourceManager, getWebSectionsForLocation, hasAnyErrors, hasBuilds, hasPerm, isEnableSignup, isSelectFieldAndNull, setAuthenticationContext, setBambooPermissionManager, setBuildManager, setCookieCutter, setErrorMessages, setHtmlUtils, setReturnUrl, setWebInterfaceManager, setWebResourceManager`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface com.atlassian.bamboo.utils.error.ErrorCollection
`getErrorMessages, getErrors, getFieldErrors`

Field Detail

### WIZARD

    public static final String WIZARD

  Webwork label state we want to display the wizard view

  See Also:
    Constant Field Values

Constructor Detail

### StarterAction

    public StarterAction()

Method Detail

### doExecute

    public String doExecute()
                     throws Exception

  Return the page to display

  Overrides:
    `doExecute` in class `AbstractAction`
  Returns:
    The WebWork view name
  Throws:
    `Exception` - Generic exception

### getNumberOfInstalledBuilders

    public int getNumberOfInstalledBuilders()

  Tell the GUI how many installed builders we have

  Returns:
    The number!

### getPipelines

    public Collection getPipelines()

### isFavourite

    public boolean isFavourite(Build build)

### getBuilds

    public Collection getBuilds()

### getFavouriteBuilds

    public Collection getFavouriteBuilds()

### getResponsibleForBuilds

    public Collection getResponsibleForBuilds()

  Can probably write this logic better.

  Returns:

### getAuthor

    public Author getAuthor()

### setPipelineManager

    public void setPipelineManager(PipelineManager pipelineManager)

### setLabelManager

    public void setLabelManager(LabelManager labelManager)

### setExtendedAuthorManager

    public void setExtendedAuthorManager(ExtendedAuthorManager extendedAuthorManager)

### setBuildResultsSummaryManager

    public void setBuildResultsSummaryManager(BuildResultsSummaryManager buildResultsSummaryManager)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 Atlassian Software Systems. All Rights Reserved.