Class Modules


  • public final class Modules
    extends Object
    API class for retrieving module data and starting modules.
    • Method Detail

      • getModules

        public javax.ws.rs.core.Response getModules()
        Gets all modules.
        Returns:
        a JSON array containing information about all modules
      • startModule

        public javax.ws.rs.core.Response startModule​(@Context
                                                     javax.ws.rs.core.UriInfo uriInfo,
                                                     String id)
        Starts the specified module.
        Parameters:
        uriInfo - the URI
        id - the ID of the module
        Returns:
        an HTTP 200 response if the module was started successfully