|
||||||||||
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.BuildActionSupport com.atlassian.bamboo.build.ViewBuildFiles
public class ViewBuildFiles
This action lets a user browse the build files.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
---|
BambooActionSupport.JSONStatus |
Field Summary |
---|
Fields inherited from class com.atlassian.bamboo.ww2.actions.BuildActionSupport |
---|
buildExecutionManager |
Fields inherited from class com.atlassian.bamboo.ww2.actions.PlanActionSupport |
---|
buildNumber, resultsSummaryManager |
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
---|
administrationConfigurationManager, bambooPermissionManager, buildDefinitionManager, buildManager, commentManager, CONFIRM, cookieCutter, dashboardCachingManager, planExecutionManager, 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 | |
---|---|
ViewBuildFiles()
|
Method Summary | |
---|---|
java.lang.String |
doExecute()
Places the current user on the page |
java.util.Date |
formatAsDate(long l)
|
java.lang.String |
formatFileSize(long l)
|
java.lang.String |
getDirectory()
|
java.io.File[] |
getFiles()
|
java.util.List |
getSourceCodeBreadcrumb()
|
boolean |
isLastBuildLocal()
|
void |
setDirectory(java.lang.String directory)
|
void |
setLocalAgentManager(LocalAgentManager localAgentManager)
|
Methods inherited from class com.atlassian.bamboo.ww2.actions.BuildActionSupport |
---|
getBuild, getBuildResultKey, getCurrentlyBuilding, getCurrentlyBuildingList, getCurrentlyRunningBuildResultKeys, getSecuredDomainObject, setBuild, setBuildExecutionManager, setBuildResultKey |
Methods inherited from class com.atlassian.bamboo.ww2.actions.PlanActionSupport |
---|
getBuildKey, getBuildNumber, getCurrentlyBuildingPlans, getErrorAccessor, getPlan, getPlanKey, getPlanResultKey, getProject, getResultsSummaryManager, hasPlanResultComments, setBuildKey, setBuildNumber, setErrorAccessor, setPlan, setPlanExecutionManager, setPlanKey, setPlanResultKey, setResultsSummaryManager |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
---|
addActionError, 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 |
Constructor Detail |
---|
public ViewBuildFiles()
Method Detail |
---|
public java.lang.String getDirectory()
public void setDirectory(java.lang.String directory)
public java.lang.String doExecute() throws java.lang.Exception
BambooActionSupport
doExecute
in class BambooActionSupport
java.lang.Exception
- something nasty went wrongpublic java.io.File[] getFiles()
public java.lang.String formatFileSize(long l)
public java.util.Date formatAsDate(long l)
public java.util.List getSourceCodeBreadcrumb() throws java.lang.Exception
java.lang.Exception
public boolean isLastBuildLocal()
public void setLocalAgentManager(LocalAgentManager localAgentManager)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |