Class Results
- java.lang.Object
-
- org.palladiosimulator.protocom.framework.java.ee.api.http.Results
-
public class Results extends Object
API class for retrieving experiment results.
-
-
Constructor Summary
Constructors Constructor Description Results()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
deleteResult(String id)
Deletes the results of the specified experiment.javax.ws.rs.core.Response
getResult(String id)
Gets the results for the specified experiment.javax.ws.rs.core.Response
getResults()
Gets all experiment results.
-
-
-
Method Detail
-
getResults
public javax.ws.rs.core.Response getResults()
Gets all experiment results.- Returns:
- a JSON array containing information about all experiment results
-
getResult
public javax.ws.rs.core.Response getResult(String id)
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
public javax.ws.rs.core.Response deleteResult(String id)
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
-
-