org.apache.continuum.web.action
Class ViewBuildsReportAction

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.continuum.web.action.ViewBuildsReportAction
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 ViewBuildsReportAction
extends ContinuumActionSupport

See Also:
Serialized Form

Field Summary
static String SEND_FILE
           
 
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
ViewBuildsReportAction()
           
 
Method Summary
 String downloadBuildsReport()
           
 String execute()
           
 int getBuildStatus()
           
 Map<Integer,String> getBuildStatuses()
           
 String getEndDate()
           
 InputStream getInputStream()
           
 int getNumPages()
           
 int getPage()
           
 List<ProjectBuildsSummary> getProjectBuilds()
           
 int getProjectGroupId()
           
 Map<Integer,String> getProjectGroups()
           
 int getRowCount()
           
 String getStartDate()
           
 String getTriggeredBy()
           
 String init()
           
 void prepare()
           
 void setBuildStatus(int buildStatus)
           
 void setEndDate(String endDate)
           
 void setPage(int page)
           
 void setProjectGroupId(int projectGroupId)
           
 void setRowCount(int rowCount)
           
 void setStartDate(String startDate)
           
 void setTriggeredBy(String triggeredBy)
           
 
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, 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
 

Field Detail

SEND_FILE

public static final String SEND_FILE
See Also:
Constant Field Values
Constructor Detail

ViewBuildsReportAction

public ViewBuildsReportAction()
Method Detail

prepare

public void prepare()
             throws Exception
Specified by:
prepare in interface com.opensymphony.xwork2.Preparable
Overrides:
prepare in class ContinuumActionSupport
Throws:
Exception

init

public String init()

execute

public String execute()
Specified by:
execute in interface com.opensymphony.xwork2.Action
Overrides:
execute in class ContinuumActionSupport

downloadBuildsReport

public String downloadBuildsReport()

getBuildStatus

public int getBuildStatus()

setBuildStatus

public void setBuildStatus(int buildStatus)

getProjectGroupId

public int getProjectGroupId()

setProjectGroupId

public void setProjectGroupId(int projectGroupId)

getTriggeredBy

public String getTriggeredBy()

setTriggeredBy

public void setTriggeredBy(String triggeredBy)

getStartDate

public String getStartDate()

setStartDate

public void setStartDate(String startDate)

getEndDate

public String getEndDate()

setEndDate

public void setEndDate(String endDate)

getRowCount

public int getRowCount()

setRowCount

public void setRowCount(int rowCount)

getBuildStatuses

public Map<Integer,String> getBuildStatuses()

getProjectGroups

public Map<Integer,String> getProjectGroups()

getProjectBuilds

public List<ProjectBuildsSummary> getProjectBuilds()

getPage

public int getPage()

setPage

public void setPage(int page)

getNumPages

public int getNumPages()

getInputStream

public InputStream getInputStream()


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