public class DefaultTenantClient extends BaseClient<TenantHandler> implements TenantClient
| Constructor and Description |
|---|
DefaultTenantClient(ClientInfo clientInfo) |
| Modifier and Type | Method and Description |
|---|---|
ClientResponse<List<org.hawkular.inventory.api.model.Relationship>> |
createRelationship(String at,
List<org.hawkular.inventory.api.model.Relationship.Blueprint> blueprints)
Creates new relationship(s) on a tenant
|
ClientResponse<Empty> |
createTenant(String at,
org.hawkular.inventory.api.model.Tenant.Update update)
Updates the properties of the tenant
|
ClientResponse<List<org.hawkular.inventory.api.model.Relationship>> |
getRelationships(org.hawkular.inventory.paths.CanonicalPath path,
String at)
Retrieves tenant’s relationships
|
ClientResponse<org.hawkular.inventory.api.model.Tenant> |
getTenant(String at)
Retrieves the details of the current tenant.
|
collectionResolver, mapResolver, restApi, simpleResolverpublic DefaultTenantClient(ClientInfo clientInfo)
public ClientResponse<org.hawkular.inventory.api.model.Tenant> getTenant(String at)
TenantClientgetTenant in interface TenantClientpublic ClientResponse<Empty> createTenant(String at, org.hawkular.inventory.api.model.Tenant.Update update)
TenantClientcreateTenant in interface TenantClientpublic ClientResponse<List<org.hawkular.inventory.api.model.Relationship>> createRelationship(String at, List<org.hawkular.inventory.api.model.Relationship.Blueprint> blueprints)
TenantClientcreateRelationship in interface TenantClientpublic ClientResponse<List<org.hawkular.inventory.api.model.Relationship>> getRelationships(org.hawkular.inventory.paths.CanonicalPath path, String at)
TenantClientgetRelationships in interface TenantClientCopyright © 2015–2017 Red Hat, Inc.. All rights reserved.