Class Results
java.lang.Object
org.palladiosimulator.protocom.framework.java.ee.api.http.Results
API class for retrieving experiment results.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
deleteResult
(String id) Deletes the results of the specified experiment.javax.ws.rs.core.Response
Gets the results for the specified experiment.javax.ws.rs.core.Response
Gets all experiment results.
-
Constructor Details
-
Results
public Results()
-
-
Method Details
-
getResults
public javax.ws.rs.core.Response getResults()Gets all experiment results.- Returns:
- a JSON array containing information about all experiment results
-
getResult
Gets the results for the specified experiment.- Parameters:
id
- the ID of the experiment- Returns:
- an octet stream containing a ZIP file with the experiment results
-
deleteResult
Deletes the results of the specified experiment.- Parameters:
id
- the ID of the experiment- Returns:
- an HTTP 204 response of the results were deleted successfully
-