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

Package class diagram package WorkingCopyAction
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.WorkingCopyAction
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, java.io.Serializable, org.apache.struts2.interceptor.SessionAware

public class WorkingCopyAction
extends ContinuumActionSupport

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.maven.continuum.web.action.ContinuumActionSupport
dateFormatter, ERROR_MSG_AUTHORIZATION_REQUIRED, ERROR_MSG_PROCESSING_AUTHORIZATION, 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
WorkingCopyAction()
           
 
Method Summary
 java.lang.String execute()
           
 java.lang.String getDownloadFilename()
           
 java.lang.String getFile()
           
 java.lang.String getFileContent()
           
 java.lang.String getFileLength()
           
 java.io.InputStream getInputStream()
           
 java.lang.String getMimeType()
           
 java.lang.String getOutput()
           
 org.apache.maven.continuum.model.project.Project getProject()
           
 java.lang.String getProjectGroupName()
           
 int getProjectId()
           
 java.lang.String getProjectName()
           
 java.lang.String getUserDirectory()
           
 void setFile(java.lang.String currentFile)
           
 void setProjectId(int projectId)
           
 void setUserDirectory(java.lang.String userDirectory)
           
 
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, doDefault, getContinuum, getPrincipal, getResourceBundle, getSecuritySystem, 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, clearErrorsAndMessages, clone, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, 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
 

Constructor Detail

WorkingCopyAction

public WorkingCopyAction()
Method Detail

execute

public java.lang.String execute()
                         throws org.apache.maven.continuum.ContinuumException
Specified by:
execute in interface com.opensymphony.xwork2.Action
Overrides:
execute in class ContinuumActionSupport
Throws:
org.apache.maven.continuum.ContinuumException

getProjectId

public int getProjectId()

setProjectId

public void setProjectId(int projectId)

getProjectName

public java.lang.String getProjectName()

getUserDirectory

public java.lang.String getUserDirectory()

setUserDirectory

public void setUserDirectory(java.lang.String userDirectory)

setFile

public void setFile(java.lang.String currentFile)

getFile

public java.lang.String getFile()

getOutput

public java.lang.String getOutput()

getFileContent

public java.lang.String getFileContent()

getInputStream

public java.io.InputStream getInputStream()
                                   throws org.apache.maven.continuum.ContinuumException
Throws:
org.apache.maven.continuum.ContinuumException

getFileLength

public java.lang.String getFileLength()

getDownloadFilename

public java.lang.String getDownloadFilename()

getMimeType

public java.lang.String getMimeType()

getProject

public org.apache.maven.continuum.model.project.Project getProject()

getProjectGroupName

public java.lang.String getProjectGroupName()
                                     throws org.apache.maven.continuum.ContinuumException
Throws:
org.apache.maven.continuum.ContinuumException