Class ServerCapabilitiesResource


  • @Singleton
    public class ServerCapabilitiesResource
    extends Object
    • Method Detail

      • getAllSharedCapabilities

        public javax.ws.rs.core.Response getAllSharedCapabilities()
        Get all server capabilities
      • createSharedCapability

        public javax.ws.rs.core.Response createSharedCapability​(@Context
                                                                javax.ws.rs.core.UriInfo uriInfo,
                                                                RestCapability capability)
      • deleteSharedCapability

        public javax.ws.rs.core.Response deleteSharedCapability​(String capabilityKey)
      • redetectSharedCapabilities

        public javax.ws.rs.core.Response redetectSharedCapabilities()
        Clear and reset the existing capabilities.
      • path

        public javax.ws.rs.core.Response path​(String key)
        Get specific server capability
        Parameters:
        key - e.g. system.git.executable
        Returns:
        capability