public enum ResourceProvider extends Enum<ResourceProvider>
| Enum Constant and Description |
|---|
SINGLETON |
| Modifier and Type | Method and Description |
|---|---|
Resource |
getResource(String name) |
List<String> |
getResourceNames() |
Map<String,Resource> |
getResources(List<String> names) |
void |
setResourcesForTests(Map<String,com.fasterxml.jackson.databind.JsonNode> resources) |
static ResourceProvider |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceProvider[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceProvider SINGLETON
public static ResourceProvider[] values()
for (ResourceProvider c : ResourceProvider.values()) System.out.println(c);
public static ResourceProvider valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic void setResourcesForTests(Map<String,com.fasterxml.jackson.databind.JsonNode> resources)
Copyright © 2016–2020. All rights reserved.