@Beta
public interface ResourceAdminService
Modifier and Type | Method and Description |
---|---|
boolean |
register(java.util.List<? extends Resource> resources)
Registers the specified resources.
|
default boolean |
register(Resource... resources)
Registers the specified resources.
|
boolean |
unregister(java.util.List<? extends ResourceId> ids)
Unregisters the specified resources.
|
default boolean |
unregister(ResourceId... ids)
Unregisters the specified resources.
|
default boolean register(Resource... resources)
resources
- resources to be registeredboolean register(java.util.List<? extends Resource> resources)
resources
- resources to be registereddefault boolean unregister(ResourceId... ids)
ids
- IDs of resources to be unregisteredboolean unregister(java.util.List<? extends ResourceId> ids)
ids
- IDs of resources to be unregistered