Class StorageHubWrapper
- java.lang.Object
-
- org.gcube.common.storagehubwrapper.server.StorageHubWrapper
-
public class StorageHubWrapper extends Object
The Class StorageHubWrapper.- Author:
- Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) Jul 31, 2019
-
-
Constructor Summary
Constructors Constructor Description StorageHubWrapper(String scope, String authorizationToken)Instantiates a new storage hub wrapper.StorageHubWrapper(String scope, String authorizationToken, boolean withAccounting, boolean withFileDetails, boolean withMapProperties)Instantiates a new storage hub wrapper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StorageHubClientServicegetStorageHubClientService()Gets the storage hub client service.WorkspacegetWorkspace()A Workspace interface HL-Like
-
-
-
Field Detail
-
lock
public Object lock
-
-
Constructor Detail
-
StorageHubWrapper
public StorageHubWrapper(String scope, String authorizationToken)
Instantiates a new storage hub wrapper.- Parameters:
scope- the scopeauthorizationToken- the authorization token
-
StorageHubWrapper
public StorageHubWrapper(String scope, String authorizationToken, boolean withAccounting, boolean withFileDetails, boolean withMapProperties)
Instantiates a new storage hub wrapper.- Parameters:
scope- the scopeauthorizationToken- the authorization tokenwithAccounting- the with accountingwithFileDetails- the with file detailswithMapProperties- the with map properties
-
-
Method Detail
-
getWorkspace
public Workspace getWorkspace()
A Workspace interface HL-Like- Returns:
- the workspace as single instance
-
getStorageHubClientService
public StorageHubClientService getStorageHubClientService()
Gets the storage hub client service.- Returns:
- the storageHubClientService
-
-