Class Modules
java.lang.Object
org.palladiosimulator.protocom.framework.java.ee.api.http.Modules
API class for retrieving module data and starting modules.
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
Gets all modules.javax.ws.rs.core.Response
startModule
(javax.ws.rs.core.UriInfo uriInfo, String id) Starts the specified module.
-
Method Details
-
getModules
public javax.ws.rs.core.Response getModules()Gets all modules.- Returns:
- a JSON array containing information about all modules
-
startModule
Starts the specified module.- Parameters:
uriInfo
- the URIid
- the ID of the module- Returns:
- an HTTP 200 response if the module was started successfully
-