public class ResourceType extends Object
Modifier and Type | Method and Description |
---|---|
static ResourceType |
fromDuraCloudUserType(DuraCloudUserType type) |
static ResourceType |
fromStorageProviderType(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(StorageProviderType type)
public static ResourceType fromDuraCloudUserType(DuraCloudUserType type)
public static List<ResourceType> values()
Copyright © 2009–2014 DuraSpace. All rights reserved.