|
||||||||||
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.PlanActionSupport com.atlassian.bamboo.ww2.actions.ViewActivityLog
public class ViewActivityLog
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
|
static int |
DEFAULT_REFRESH_RATE
|
Fields inherited from class com.atlassian.bamboo.ww2.actions.PlanActionSupport |
---|
buildNumber, immutablePlanCacheService, repositoryConfigurationService, resultsSummaryManager |
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
---|
administrationConfigurationManager, AGGREGATE_URL_PATTERN, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, CONFIRM, cookieCutter, dashboardCachingManager, PLAN_KEY_CONTEXT, planExecutionManager, planManager, projectManager, webInterfaceManager |
Fields inherited from class com.opensymphony.xwork.ActionSupport |
---|
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
ViewActivityLog()
|
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> |
getActivityLog()
|
int |
getLinesToDisplay()
|
int |
getSecondsToRefresh()
|
void |
setBuildLoggerManager(BuildLoggerManager buildLoggerManager)
|
void |
setLinesToDisplay(int linesToDisplay)
|
void |
setSecondsToRefresh(int secondsToRefresh)
|
Methods inherited from class com.atlassian.bamboo.ww2.actions.PlanActionSupport |
---|
buildWebPanelContext, getBuildKey, getBuildNumber, getCurrentlyBuildingPlans, getErrorAccessor, getJobsWebItemsForSection, getPlan, getPlanKey, getPlanResultKey, getProject, getResultsSummaryManager, getSecuredDomainObject, getTypedPlanResultKey, isRestartable, planNotFound, setBuildKey, setBuildNumber, setErrorAccessor, setPlan, setPlanExecutionManager, setPlanKey, setPlanResultKey, setRepositoryConfigurationService, setResultsSummaryManager |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
---|
addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, 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 |
Field Detail |
---|
public static final int DEFAULT_DISPLAY_LINES
public static final int DEFAULT_REFRESH_RATE
public static final java.lang.String BAMBOO_MAX_DISPLAY_LINES
public static final java.lang.String BAMBOO_LOG_REFRESH
Constructor Detail |
---|
public ViewActivityLog()
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 int getSecondsToRefresh()
public void setSecondsToRefresh(int secondsToRefresh)
public java.util.List<LogEntry> getActivityLog()
public int getLinesToDisplay()
public void setLinesToDisplay(int linesToDisplay)
public void setBuildLoggerManager(BuildLoggerManager buildLoggerManager)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |