public enum ResourceResolverType extends java.lang.Enum<ResourceResolverType>
Enum Constant and Description |
---|
JCR_MOCK
Uses a simple JCR "in-memory" mock as underlying repository.
|
JCR_OAK
Uses a real JCR Jackrabbit Oak repository.
|
NONE
Provides resource resolver environment without any ResourceProvider.
|
RESOURCERESOLVER_MOCK
Uses Sling "resourceresolver-mock" implementation, no underlying JCR
repository.
|
Modifier and Type | Method and Description |
---|---|
@NotNull NodeTypeMode |
getNodeTypeMode() |
static ResourceResolverType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResourceResolverType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceResolverType RESOURCERESOLVER_MOCK
public static final ResourceResolverType JCR_MOCK
public static final ResourceResolverType JCR_OAK
MemoryNodeStore
implementation is used, with no
customizations.public static final ResourceResolverType NONE
public static ResourceResolverType[] values()
for (ResourceResolverType c : ResourceResolverType.values()) System.out.println(c);
public static ResourceResolverType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@NotNull public @NotNull NodeTypeMode getNodeTypeMode()
Copyright © 2014–2021 wcm.io. All rights reserved.