Package org.nuxeo.runtime.capabilities
Interface CapabilitiesService
-
- All Known Implementing Classes:
CapabilitiesServiceImpl
public interface CapabilitiesService
Service holding the server capabilities.- Since:
- 11.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Capabilities
getCapabilities()
Returns the capabilities.void
registerCapabilities(String name, Supplier<Map<String,Object>> supplier)
Registers capabilities under the givenname
.void
registerCapabilities(String name, Map<String,Object> map)
Registers capabilities under the givenname
.
-
-
-
Method Detail
-
registerCapabilities
void registerCapabilities(String name, Map<String,Object> map)
Registers capabilities under the givenname
.- See Also:
registerCapabilities(String, Supplier)
-
registerCapabilities
void registerCapabilities(String name, Supplier<Map<String,Object>> supplier)
Registers capabilities under the givenname
.The given
Supplier
is called each timegetCapabilities()
is called.Capabilities might be registered during the Component start step.
-
getCapabilities
Capabilities getCapabilities()
Returns the capabilities.
-
-