| Modifier and Type | Field and Description |
|---|---|
protected java.util.TreeSet<java.lang.String> |
methods |
protected java.util.LinkedHashSet<io.inversion.utils.Path> |
paths |
| Constructor and Description |
|---|
RuleMatcher() |
RuleMatcher(java.lang.String spec) |
RuleMatcher(java.lang.String methods,
java.util.List<io.inversion.utils.Path> paths) |
RuleMatcher(java.lang.String methods,
io.inversion.utils.Path path) |
RuleMatcher(java.lang.String methods,
java.lang.String... paths) |
| Modifier and Type | Method and Description |
|---|---|
Rule.RuleMatcher |
clearMethods() |
Rule.RuleMatcher |
clearPaths() |
boolean |
equals(java.lang.Object o) |
java.util.SortedSet<java.lang.String> |
getMethods() |
java.util.LinkedHashSet<io.inversion.utils.Path> |
getPaths() |
int |
hashCode() |
boolean |
hasMethod(java.lang.String method) |
static void |
parse(Rule.RuleMatcher matcher,
java.lang.String spec) |
java.lang.String |
toString() |
void |
withMethods(java.lang.String... methods) |
Rule.RuleMatcher |
withPaths(java.util.List<io.inversion.utils.Path> paths) |
Rule.RuleMatcher |
withPaths(io.inversion.utils.Path... paths) |
protected final java.util.TreeSet<java.lang.String> methods
protected final java.util.LinkedHashSet<io.inversion.utils.Path> paths
public RuleMatcher()
public RuleMatcher(java.lang.String spec)
public RuleMatcher(java.lang.String methods,
java.lang.String... paths)
public RuleMatcher(java.lang.String methods,
io.inversion.utils.Path path)
public RuleMatcher(java.lang.String methods,
java.util.List<io.inversion.utils.Path> paths)
public static void parse(Rule.RuleMatcher matcher, java.lang.String spec)
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic Rule.RuleMatcher clearPaths()
public Rule.RuleMatcher clearMethods()
public boolean hasMethod(java.lang.String method)
public void withMethods(java.lang.String... methods)
public Rule.RuleMatcher withPaths(io.inversion.utils.Path... paths)
public Rule.RuleMatcher withPaths(java.util.List<io.inversion.utils.Path> paths)
public java.util.SortedSet<java.lang.String> getMethods()
public java.util.LinkedHashSet<io.inversion.utils.Path> getPaths()
Copyright © 2023 Rocket Partners, LLC. All rights reserved.