|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.opensymphony.xwork2.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, jiraApplinksService, repositoryConfigurationService, resultsSummaryManager |
Fields inherited from class com.opensymphony.xwork2.ActionSupport |
---|
LOG |
Fields inherited from interface com.opensymphony.xwork2.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 |
getBuildWorkingDirectory()
|
java.lang.String |
getDirectory()
|
java.io.File[] |
getFiles()
|
java.util.List |
getSourceCodeBreadcrumb()
|
java.io.File |
getSourceDirectory()
|
boolean |
isLastBuildLocal()
|
void |
setAgentManager(AgentManager agentManager)
|
void |
setDirectory(java.lang.String value)
|
Methods inherited from class com.atlassian.bamboo.ww2.actions.BuildActionSupport |
---|
getBuild, getBuildResultKey, getCurrentlyBuilding, getCurrentlyBuildingList, getCurrentlyRunningBuildResultKeys, getImmutableBuild, getMutableBuild, getSecuredDomainObject, setBuild, setBuildExecutionManager, setBuildResultKey |
Methods inherited from class com.opensymphony.xwork2.ActionSupport |
---|
addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFormatted, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setContainer, 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 |
Methods inherited from interface com.opensymphony.xwork2.ValidationAware |
---|
addActionMessage, addFieldError, getActionErrors, getActionMessages, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors |
Constructor Detail |
---|
public ViewBuildFiles()
Method Detail |
---|
public java.lang.String getDirectory()
public void setDirectory(java.lang.String value)
public java.lang.String doExecute() throws java.lang.Exception
BambooActionSupport
doExecute
in class BambooActionSupport
java.lang.Exception
- something nasty went wrong@Nullable public java.lang.String getBuildWorkingDirectory()
@Nullable public 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 java.io.File getSourceDirectory()
public void setAgentManager(AgentManager agentManager)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |