public final class Resources
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KEYSPACES
Deprecated.
|
static java.lang.String |
ROOT
Deprecated.
|
Constructor and Description |
---|
Resources() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<? extends IResource> |
chain(IResource resource)
Construct a chain of resource parents starting with the resource and ending with the root.
|
static java.util.List<? extends IResource> |
chain(IResource resource,
java.util.function.Predicate<IResource> filter)
Construct a chain of resource parents starting with the resource and ending with the root.
|
static IResource |
fromName(java.lang.String name)
Creates an IResource instance from its external name.
|
static java.lang.String |
toString(java.util.List<java.lang.Object> resource)
Deprecated.
|
@Deprecated public static final java.lang.String ROOT
@Deprecated public static final java.lang.String KEYSPACES
public static java.util.List<? extends IResource> chain(IResource resource)
resource
- The starting point.public static java.util.List<? extends IResource> chain(IResource resource, java.util.function.Predicate<IResource> filter)
resource
- The starting point.filter
- can be used to omit specific resources from the chainpublic static IResource fromName(java.lang.String name)
name
- @Deprecated public static java.lang.String toString(java.util.List<java.lang.Object> resource)
Copyright © 2009- The Apache Software Foundation