@Singleton public class ServerCapabilitiesResource extends Object
Constructor and Description |
---|
ServerCapabilitiesResource(CapabilitySetManager capabilitySetManager,
CapabilityDefaultsHelper capabilityDefaultsHelper) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
createSharedCapability(javax.ws.rs.core.UriInfo uriInfo,
RestCapability capability) |
javax.ws.rs.core.Response |
deleteSharedCapability(String capabilityKey) |
javax.ws.rs.core.Response |
getAllSharedCapabilities()
Get all server capabilities
|
javax.ws.rs.core.Response |
path(String key)
Get specific server capability
|
javax.ws.rs.core.Response |
redetectSharedCapabilities()
Clear and reset the existing capabilities.
|
public ServerCapabilitiesResource(CapabilitySetManager capabilitySetManager, CapabilityDefaultsHelper capabilityDefaultsHelper)
public javax.ws.rs.core.Response getAllSharedCapabilities()
public javax.ws.rs.core.Response createSharedCapability(@Context javax.ws.rs.core.UriInfo uriInfo, RestCapability capability)
public javax.ws.rs.core.Response deleteSharedCapability(String capabilityKey)
public javax.ws.rs.core.Response redetectSharedCapabilities()
public javax.ws.rs.core.Response path(String key)
key
- e.g. system.git.executableCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.