com.hubspot.chrome.devtools.client.core.storage.StorageType Maven / Gradle / Ivy
package com.hubspot.chrome.devtools.client.core.storage;
import com.fasterxml.jackson.annotation.JsonValue;
/**
* Enum of possible storage types.
*/
public enum StorageType {
APPCACHE("appcache"),
COOKIES("cookies"),
FILE_SYSTEMS("file_systems"),
INDEXEDDB("indexeddb"),
LOCAL_STORAGE("local_storage"),
SHADER_CACHE("shader_cache"),
WEBSQL("websql"),
SERVICE_WORKERS("service_workers"),
CACHE_STORAGE("cache_storage"),
ALL("all"),
OTHER("other");
private final String value;
StorageType(String value) {
this.value= value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return value;
}
}