|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.plexus.logging.AbstractLogEnabled
org.codehaus.plexus.summit.AbstractSummitComponent
org.codehaus.plexus.summit.rundata.AbstractRunData
public abstract class AbstractRunData
The base class from which all RunData implementations are derived.
| Field Summary |
|---|
| Fields inherited from interface org.codehaus.plexus.summit.rundata.RunData |
|---|
ROLE |
| Constructor Summary | |
|---|---|
AbstractRunData()
|
|
| Method Summary | |
|---|---|
void |
dispose()
|
java.lang.String |
getContentType()
Gets the HTTP content type to return. |
java.lang.String |
getContextPath()
Get the servlet's context path for this webapp. |
java.lang.Throwable |
getError()
Get the error that occurred during request processing |
java.lang.String |
getLink(java.lang.String path)
Create a static link to resources in the webapp space. |
java.util.Map |
getMap()
Gets the map attribute of the AbstractRunData object |
RequestParameters |
getParameters()
Gets the request parameters. |
javax.servlet.http.HttpServletRequest |
getRequest()
Gets the request attribute of the AbstractRunData object |
Resolution |
getResolution()
Gets the Resolver attribute of the AbstractRunData object |
javax.servlet.http.HttpServletResponse |
getResponse()
Gets the response attribute of the AbstractRunData object |
java.util.List |
getResultMessages()
|
java.lang.String |
getScriptName()
Get the initial script name. |
java.lang.String |
getServerName()
Get the server name. |
int |
getServerPort()
Get the server port. |
java.lang.String |
getServerScheme()
Get the server scheme. |
javax.servlet.ServletConfig |
getServletConfig()
Gets the servletConfig attribute of the AbstractRunData object |
javax.servlet.ServletContext |
getServletContext()
Get the servlet context for this turbine webapp. |
javax.servlet.http.HttpSession |
getSession()
Gets the session attribute of the AbstractRunData object |
java.lang.String |
getTarget()
Gets the target attribute of the AbstractRunData object |
boolean |
hasError()
Determine whether an error has occured during request processing |
boolean |
hasResultMessages()
|
boolean |
hasTarget()
Description of the Method |
void |
initialize()
|
void |
setContentType(java.lang.String contentType)
Sets the HTTP content type to return. |
void |
setError(java.lang.Throwable error)
Set the error that occurred during request processing |
void |
setMap(java.util.Map map)
Sets the map attribute of the AbstractRunData object |
void |
setRequest(javax.servlet.http.HttpServletRequest request)
Sets the request attribute of the AbstractRunData object |
void |
setResolution(Resolution resolution)
Sets the Resolver attribute of the AbstractRunData object |
void |
setResponse(javax.servlet.http.HttpServletResponse response)
Sets the response attribute of the AbstractRunData object |
void |
setResultMessages(java.util.List resultMessages)
|
void |
setServletConfig(javax.servlet.ServletConfig servletConfig)
Sets the servletConfig attribute of the AbstractRunData object |
void |
setTarget(java.lang.String target)
Sets the target attribute of the AbstractRunData object |
| Methods inherited from class org.codehaus.plexus.summit.AbstractSummitComponent |
|---|
contextualize, getContainer, lookup, lookup |
| Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
|---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.codehaus.plexus.summit.SummitComponent |
|---|
getContainer, lookup, lookup |
| Constructor Detail |
|---|
public AbstractRunData()
| Method Detail |
|---|
public void initialize()
throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
initialize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializableorg.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationExceptionpublic void dispose()
dispose in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Disposablepublic java.lang.String getTarget()
getTarget in interface RunDatapublic void setTarget(java.lang.String target)
setTarget in interface RunDatapublic boolean hasTarget()
hasTarget in interface RunDatapublic void setRequest(javax.servlet.http.HttpServletRequest request)
setRequest in interface RunDatapublic javax.servlet.http.HttpServletRequest getRequest()
getRequest in interface RunDatapublic void setResponse(javax.servlet.http.HttpServletResponse response)
setResponse in interface RunDatapublic javax.servlet.http.HttpServletResponse getResponse()
getResponse in interface RunDatapublic javax.servlet.http.HttpSession getSession()
getSession in interface RunDatapublic void setServletConfig(javax.servlet.ServletConfig servletConfig)
setServletConfig in interface RunDatapublic javax.servlet.ServletConfig getServletConfig()
getServletConfig in interface RunDatapublic void setMap(java.util.Map map)
setMap in interface RunDatapublic java.util.Map getMap()
getMap in interface RunDatapublic void setContentType(java.lang.String contentType)
setContentType in interface RunDatacontentType - the new content type.public java.lang.String getContentType()
getContentType in interface RunDatapublic RequestParameters getParameters()
getParameters in interface RunDatapublic void setResolution(Resolution resolution)
setResolution in interface RunDatapublic Resolution getResolution()
getResolution in interface RunDatapublic java.lang.String getLink(java.lang.String path)
path - Path to the static resource in the webapp space.
public java.lang.String getContextPath()
RunData
getContextPath in interface RunDataRunData.getContextPath()public java.lang.String getScriptName()
RunData
getScriptName in interface RunDataRunData.getScriptName()public java.lang.String getServerName()
RunData
getServerName in interface RunDataRunData.getServerName()public int getServerPort()
RunData
getServerPort in interface RunDataRunData.getServerPort()public java.lang.String getServerScheme()
RunData
getServerScheme in interface RunDataRunData.getServerScheme()public javax.servlet.ServletContext getServletContext()
RunData
getServletContext in interface RunDataRunData.getServletContext()public boolean hasError()
RunData
hasError in interface RunDatapublic java.lang.Throwable getError()
RunData
getError in interface RunDatapublic void setError(java.lang.Throwable error)
RunData
setError in interface RunDatapublic boolean hasResultMessages()
hasResultMessages in interface RunDatapublic java.util.List getResultMessages()
getResultMessages in interface RunDatapublic void setResultMessages(java.util.List resultMessages)
setResultMessages in interface RunData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||