com.atlassian.bamboo.build
Class ViewBuildActivityLog

java.lang.Object
  extended by ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.webwork.AbstractAction
              extended by com.atlassian.bamboo.build.AbstractBuildAction
                  extended by com.atlassian.bamboo.build.ViewBuildActivityLog
All Implemented Interfaces:
ErrorCollection, BambooSessionAware, BuildAware, ReturnUrlAware
Direct Known Subclasses:
ViewCurrentRunningBuild

public class ViewBuildActivityLog
extends AbstractBuildAction

This class places a build's log in the GUI for viewing.


Field Summary
static String BAMBOO_LOG_REFRESH
           
static String BAMBOO_MAX_DISPLAY_LINES
           
static int DEFAULT_DISPLAY_LINES
           
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
buildManager, CONFIRM, cookieCutter
 
Constructor Summary
ViewBuildActivityLog()
           
 
Method Summary
 String doDefault()
          Places the current user on the page
 String doExecute()
          Places the current user on the page
 Collection getBuildActivityLog()
           
 int getLinesToDisplay()
           
 int getSecondsToRefresh()
           
 void setLinesToDisplay(int linesToDisplay)
           
 void setSecondsToRefresh(int secondsToRefresh)
           
 
Methods inherited from class com.atlassian.bamboo.build.AbstractBuildAction
getBuild, getBuildKey, getBuildName, getCurrentlyRunningBuild, getPluginManager, getPluginMenuItems, setBuild, setBuildKey, setBuildName, setPluginManager
 
Methods inherited from class com.atlassian.bamboo.webwork.AbstractAction
addFormErrors, 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

DEFAULT_DISPLAY_LINES

public static final int DEFAULT_DISPLAY_LINES
See Also:
Constant Field Values

BAMBOO_MAX_DISPLAY_LINES

public static final String BAMBOO_MAX_DISPLAY_LINES
See Also:
Constant Field Values

BAMBOO_LOG_REFRESH

public static final String BAMBOO_LOG_REFRESH
See Also:
Constant Field Values
Constructor Detail

ViewBuildActivityLog

public ViewBuildActivityLog()
Method Detail

doDefault

public String doDefault()
                 throws Exception
Description copied from class: AbstractAction
Places the current user on the page

Overrides:
doDefault in class AbstractAction
Returns:
webwork success status
Throws:
Exception - something nasty went wrong

doExecute

public String doExecute()
                 throws Exception
Description copied from class: AbstractAction
Places the current user on the page

Overrides:
doExecute in class AbstractAction
Returns:
webwork success status
Throws:
Exception - something nasty went wrong

getSecondsToRefresh

public int getSecondsToRefresh()

setSecondsToRefresh

public void setSecondsToRefresh(int secondsToRefresh)

getBuildActivityLog

public Collection getBuildActivityLog()

getLinesToDisplay

public int getLinesToDisplay()

setLinesToDisplay

public void setLinesToDisplay(int linesToDisplay)


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.