org.apache.maven.continuum.web.action
Class BuildResultAction

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by org.apache.maven.continuum.web.action.PlexusActionSupport
          extended by org.apache.maven.continuum.web.action.ContinuumActionSupport
              extended by org.apache.maven.continuum.web.action.ContinuumConfirmAction
                  extended by org.apache.maven.continuum.web.action.AbstractBuildAction
                      extended by org.apache.maven.continuum.web.action.BuildResultAction
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.Preparable, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, Serializable, org.apache.struts2.interceptor.SessionAware

public class BuildResultAction
extends AbstractBuildAction

Version:
$Id: BuildResultAction.java 1372260 2012-08-13 04:29:09Z brett $
Author:
Emmanuel Venisse
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.maven.continuum.web.action.ContinuumConfirmAction
action, CONFIRM, confirmationTitle, confirmed, confirmedDisplay, confirmedName, confirmedValue
 
Fields inherited from class org.apache.maven.continuum.web.action.ContinuumActionSupport
dateFormatter, ERROR_MSG_AUTHORIZATION_REQUIRED, ERROR_MSG_PROCESSING_AUTHORIZATION, RELEASE_ERROR, REQUIRES_AUTHENTICATION, REQUIRES_AUTHORIZATION
 
Fields inherited from class org.apache.maven.continuum.web.action.PlexusActionSupport
session
 
Fields inherited from class com.opensymphony.xwork2.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
BuildResultAction()
           
 
Method Summary
 String buildLogAsText()
           
 String execute()
           
 int getBuildId()
           
 String getBuildOutput()
           
 InputStream getBuildOutputInputStream()
           
 BuildResult getBuildResult()
           
 List<ChangeSet> getChangesSinceLastSuccess()
           
 Project getProject()
           
 int getProjectGroupId()
           
 String getProjectGroupName()
           
 String getState()
           
 boolean isHasSurefireResults()
           
 String remove()
           
 void setBuildId(int buildId)
           
 void setDistributedBuildManager(DistributedBuildManager distributedBuildManager)
           
 void setHasSurefireResults(boolean hasSurefireResults)
           
 
Methods inherited from class org.apache.maven.continuum.web.action.AbstractBuildAction
canRemoveBuildResult, getProjectId, isCanDelete, setCanDelete, setProjectId
 
Methods inherited from class org.apache.maven.continuum.web.action.ContinuumConfirmAction
getAction, getConfirmationTitle, getConfirmedDisplay, getConfirmedName, getConfirmedValue, isConfirmed, setAction, setConfirmationInfo, setConfirmationTitle, setConfirmed, setConfirmedDisplay, setConfirmedName, setConfirmedValue
 
Methods inherited from class org.apache.maven.continuum.web.action.ContinuumActionSupport
checkAddGroupBuildDefinitionAuthorization, checkAddProjectBuildDefinitionAuthorization, checkAddProjectGroupAuthorization, checkAddProjectGroupNotifierAuthorization, checkAddProjectNotifierAuthorization, checkAddProjectToGroupAuthorization, checkAuthorization, checkAuthorization, checkAuthorization, checkBuildProjectGroupAuthorization, checkBuildProjectInGroupAuthorization, checkManageConfigurationAuthorization, checkManageLocalRepositoriesAuthorization, checkManageQueuesAuthorization, checkManageSchedulesAuthorization, checkModifyGroupBuildDefinitionAuthorization, checkModifyProjectBuildDefinitionAuthorization, checkModifyProjectGroupAuthorization, checkModifyProjectGroupNotifierAuthorization, checkModifyProjectInGroupAuthorization, checkModifyProjectNotifierAuthorization, checkRemoveGroupBuildDefinitionAuthorization, checkRemoveProjectBuildDefinitionAuthorization, checkRemoveProjectFromGroupAuthorization, checkRemoveProjectGroupAuthorization, checkRemoveProjectGroupNotifierAuthorization, checkRemoveProjectNotifierAuthorization, checkViewProjectGroupAuthorization, checkViewReportsAuthorization, doDefault, getContinuum, getPrincipal, getResourceBundle, getSecuritySystem, getUser, input, isAuthenticated, prepare, requiresAuthentication, setContinuum
 
Methods inherited from class org.apache.maven.continuum.web.action.PlexusActionSupport
setSession
 
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, 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
 

Constructor Detail

BuildResultAction

public BuildResultAction()
Method Detail

execute

public String execute()
               throws ContinuumException,
                      ConfigurationException,
                      IOException,
                      BuildManagerException
Specified by:
execute in interface com.opensymphony.xwork2.Action
Overrides:
execute in class ContinuumActionSupport
Throws:
ContinuumException
ConfigurationException
IOException
BuildManagerException

remove

public String remove()
              throws ContinuumException
Throws:
ContinuumException

buildLogAsText

public String buildLogAsText()
                      throws ConfigurationException,
                             IOException
Throws:
ConfigurationException
IOException

getBuildOutputInputStream

public InputStream getBuildOutputInputStream()
                                      throws ConfigurationException,
                                             IOException
Throws:
ConfigurationException
IOException

getBuildId

public int getBuildId()

setBuildId

public void setBuildId(int buildId)

getProject

public Project getProject()

getBuildResult

public BuildResult getBuildResult()

getChangesSinceLastSuccess

public List<ChangeSet> getChangesSinceLastSuccess()

isHasSurefireResults

public boolean isHasSurefireResults()

setHasSurefireResults

public void setHasSurefireResults(boolean hasSurefireResults)

getBuildOutput

public String getBuildOutput()

getState

public String getState()

getProjectGroupName

public String getProjectGroupName()
                           throws ContinuumException
Throws:
ContinuumException

getProjectGroupId

public int getProjectGroupId()

setDistributedBuildManager

public void setDistributedBuildManager(DistributedBuildManager distributedBuildManager)


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.