@Beta
public interface ServiceAdminApi
Modifier and Type | Method and Description |
---|---|
Service |
create(String name,
String type,
String description)
Creates a new Service
|
boolean |
delete(String serviceId)
Deletes a service
|
Service |
get(String serviceId)
Gets the service
|
PagedIterable<Service> |
list()
Retrieve the list of services
|
PaginatedCollection<Service> |
list(PaginationOptions options) |
@Named(value="service:list") PagedIterable<Service> list()
@Named(value="service:list") PaginatedCollection<Service> list(PaginationOptions options)
@Named(value="service:create") @Nullable Service create(String name, String type, String description)
@Named(value="service:get") @Nullable Service get(String serviceId)
@Named(value="service:delete") boolean delete(String serviceId)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.