public class CollectorStubs extends Object implements RegistryStub
| Modifier and Type | Field and Description |
|---|---|
static String |
SCOPE_HEADER_ENTRY |
static String |
TOKEN_HEADER_ENTRY |
| Constructor and Description |
|---|
CollectorStubs(String endopoint) |
public static final String TOKEN_HEADER_ENTRY
public static final String SCOPE_HEADER_ENTRY
public CollectorStubs(String endopoint)
public void create(String profile, String type) throws InvalidResourceException, ResourceNotAcceptedException, CreateException
create in interface RegistryStubprofile - the profile in xmltype - the type of the resource to storeInvalidResourceException - if the profile is not validResourceNotAcceptedException - if some filter is applied registry sideCreateException - if something goes wrong on creationpublic void update(String id, String type, String profile) throws InvalidResourceException, ResourceNotAcceptedException, UpdateException
update in interface RegistryStubid - the id of the resource to updatetype - the type of the resource to updateprofile - the profile in xmlInvalidResourceException - if the profile is not validResourceNotAcceptedException - if some filter is applied registry sideUpdateException - if something goes wrong on updatepublic void remove(String id, String type) throws ResourceDoesNotExistException, RemoveException
remove in interface RegistryStubid - the id of the resource to removetype - the type of the resource to removeResourceDoesNotExistException - if the resource is not stored on the CollectorRemoveException - if something goes wrong during deletionCopyright © 2019. All Rights Reserved.