public final class WspFilter extends Object implements Serializable
WorkspaceFilter
implementation.Modifier and Type | Class and Description |
---|---|
static class |
WspFilter.Root |
static class |
WspFilter.Rule |
Constructor and Description |
---|
WspFilter(List<WspFilter.Root> roots) |
WspFilter(WspFilter.Root... roots) |
Modifier and Type | Method and Description |
---|---|
static WspFilter.Root |
adaptFilterSet(org.apache.jackrabbit.vault.fs.api.PathFilterSet filterSet) |
static WspFilter |
adaptWorkspaceFilter(org.apache.jackrabbit.vault.fs.api.WorkspaceFilter filter) |
boolean |
equals(Object o) |
List<WspFilter.Root> |
getRoots() |
int |
hashCode() |
static WspFilter |
parseSimpleSpec(String text)
Simple spec is defined simply as a line-by-line format where:
1.
|
String |
toJSONString() |
String |
toJSONString(int indentLevel) |
String |
toSpec() |
String |
toString() |
public WspFilter(WspFilter.Root... roots)
public WspFilter(List<WspFilter.Root> roots)
public List<WspFilter.Root> getRoots()
public String toSpec()
public String toJSONString() throws org.json.JSONException
org.json.JSONException
public String toJSONString(int indentLevel) throws org.json.JSONException
org.json.JSONException
public static WspFilter parseSimpleSpec(String text)
text
- raw textWspFilter
or null if parsing failedpublic static WspFilter adaptWorkspaceFilter(org.apache.jackrabbit.vault.fs.api.WorkspaceFilter filter)
public static WspFilter.Root adaptFilterSet(org.apache.jackrabbit.vault.fs.api.PathFilterSet filterSet)
Copyright © 2013-2017. All Rights Reserved.