|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.opensymphony.xwork.ActionSupport com.atlassian.bamboo.ww2.BambooActionSupport com.atlassian.bamboo.ww2.actions.BuildActionSupport com.atlassian.bamboo.build.ViewBuildActivityLog
public class ViewBuildActivityLog
This class places a build's log in the GUI for viewing.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
---|
BambooActionSupport.JSONStatus |
Field Summary | |
---|---|
static java.lang.String |
BAMBOO_LOG_REFRESH
|
static java.lang.String |
BAMBOO_MAX_DISPLAY_LINES
|
static int |
DEFAULT_DISPLAY_LINES
|
Fields inherited from class com.atlassian.bamboo.ww2.actions.BuildActionSupport |
---|
buildExecutionManager |
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
---|
administrationConfigurationManager, bambooPermissionManager, buildDefinitionManager, buildManager, chainManager, CONFIRM, cookieCutter, dashboardCachingManager, planManager, projectManager |
Fields inherited from class com.opensymphony.xwork.ActionSupport |
---|
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
ViewBuildActivityLog()
|
Method Summary | |
---|---|
java.lang.String |
doDefault()
Default action just sends to the input |
java.lang.String |
doExecute()
Places the current user on the page |
java.util.List<LogEntry> |
getBuildActivityLog()
|
java.util.List<LogEntry> |
getBuildResultActivityLog(java.lang.String buildResultKey)
|
int |
getLinesToDisplay()
|
int |
getSecondsToRefresh()
|
boolean |
isConcurrentBuildsEnabled()
|
void |
setLinesToDisplay(int linesToDisplay)
|
void |
setSecondsToRefresh(int secondsToRefresh)
|
Methods inherited from class com.atlassian.bamboo.ww2.actions.BuildActionSupport |
---|
getBuild, getBuildKey, getBuildResultKey, getCurrentlyBuilding, getCurrentlyBuildingList, getCurrentlyRunningBuildResultKeys, getPlan, getPlanKey, getSecuredDomainObject, setBuild, setBuildExecutionManager, setBuildKey, setBuildResultKey, setPlan, setPlanKey |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
---|
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, pause, setActionErrors, setActionMessages, setFieldErrors, validate |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.bamboo.ww2.aware.permissions.DomainObjectSecurityAware |
---|
getSecuredDomainObject |
Methods inherited from interface com.atlassian.bamboo.utils.error.ErrorCollection |
---|
getErrorMessages, getErrors, getFieldErrors |
Methods inherited from interface com.atlassian.core.i18n.I18nTextProvider |
---|
getText |
Field Detail |
---|
public static final int DEFAULT_DISPLAY_LINES
public static final java.lang.String BAMBOO_MAX_DISPLAY_LINES
public static final java.lang.String BAMBOO_LOG_REFRESH
Constructor Detail |
---|
public ViewBuildActivityLog()
Method Detail |
---|
public java.lang.String doDefault() throws java.lang.Exception
BambooActionSupport
doDefault
in class BambooActionSupport
java.lang.Exception
public java.lang.String doExecute() throws java.lang.Exception
BambooActionSupport
doExecute
in class BambooActionSupport
java.lang.Exception
- something nasty went wrongpublic java.util.List<LogEntry> getBuildResultActivityLog(java.lang.String buildResultKey)
public boolean isConcurrentBuildsEnabled()
public int getSecondsToRefresh()
public void setSecondsToRefresh(int secondsToRefresh)
public java.util.List<LogEntry> getBuildActivityLog()
public int getLinesToDisplay()
public void setLinesToDisplay(int linesToDisplay)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |