public class ResultAction extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ResultAction.EditAnalysisModel
The model object for the EditAnalysis screen view.
|
class |
ResultAction.EditArchiveModel
The model object for the EditArchive screen view.
|
Constructor and Description |
---|
ResultAction() |
Modifier and Type | Method and Description |
---|---|
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.
|
String |
deleteResults(HttpServletRequest request,
HttpServletResponse response) |
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.
|
public String takeAction(HttpServletRequest request, HttpServletResponse response) throws IOException, ParseException
request
- The requestresponse
- The responseIOException
- If there are problems reading or writing dataParseException
- 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 String deleteResults(HttpServletRequest request, HttpServletResponse response) throws IOException
IOException
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