public class ResourceType extends Object
| Modifier and Type | Method and Description |
|---|---|
static ResourceType |
fromDuraCloudUserType(org.duracloud.common.model.DuraCloudUserType type) |
static ResourceType |
fromStorageProviderType(org.duracloud.storage.domain.StorageProviderType type) |
static ResourceType |
fromString(String type)
This method returns a ResourceType from the arg type id.
|
String |
toString() |
static List<ResourceType> |
values()
This method returns the union of StorageProviderTypes and
DuraCloudUserTypes.
|
public static ResourceType fromString(String type)
type - id for ResourceTypeUnknownResourceTypeException - if arg type id not recognized.public static ResourceType fromStorageProviderType(org.duracloud.storage.domain.StorageProviderType type)
public static ResourceType fromDuraCloudUserType(org.duracloud.common.model.DuraCloudUserType type)
public static List<ResourceType> values()
Copyright © 2009–2015 DuraSpace. All rights reserved.