|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.faban.harness.webclient.ResultAction
public class ResultAction
Controller handling actions from the result list screen.
Nested Class Summary | |
---|---|
static class |
ResultAction.EditAnalysisModel
The model object for the EditAnalysis screen view. |
class |
ResultAction.EditArchiveModel
The model object for the EditArchive screen view. |
Constructor Summary | |
---|---|
ResultAction()
|
Method Summary | |
---|---|
String |
analyze(HttpServletRequest request,
HttpServletResponse response)
This method is responsible for analyzing the runs. |
String |
archive(HttpServletRequest request,
HttpServletResponse response)
This method is responsible for archiving the runs to the repository. |
static void |
editXML(RunResult result)
Edit run.xml file. |
void |
profileTagList(HttpServletRequest req,
HttpServletResponse resp)
Obtains the tags list for each profile. |
String |
takeAction(HttpServletRequest request,
HttpServletResponse response)
Checks for actions the user asked to perform and take the appropriate action. |
static HashSet<String> |
uploadRuns(String[] runIds,
HashSet<File> uploadSet,
HashSet<String> replaceSet)
This method is responsible for uploading the runs to repository. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResultAction()
Method Detail |
---|
public String takeAction(HttpServletRequest request, HttpServletResponse response) throws IOException, ParseException
request
- The requestresponse
- The response
IOException
- If there are problems reading or writing data
ParseException
- Error parsing inputpublic void profileTagList(HttpServletRequest req, HttpServletResponse resp) throws IOException
req
- resp
-
IOException
public String analyze(HttpServletRequest request, HttpServletResponse response) throws IOException
request
- response
-
IOException
public String archive(HttpServletRequest request, HttpServletResponse response) throws IOException, FileNotFoundException, ParseException, ClassNotFoundException
request
- response
-
IOException
FileNotFoundException
ParseException
ClassNotFoundException
public static void editXML(RunResult result)
result
- The run result object to editpublic static HashSet<String> uploadRuns(String[] runIds, HashSet<File> uploadSet, HashSet<String> replaceSet) throws IOException
uploadSet
- replaceSet
-
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |