Package de.tum.in.test.api.util
Class PathRule
java.lang.Object
de.tum.in.test.api.util.PathRule
@API(status=INTERNAL)
public final class PathRule
extends java.lang.Object
-
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object obj)PathActionLevelgetActionLevel()java.nio.file.PathMatchergetPathMatcher()java.lang.StringgetPathPattern()PathTypegetPathType()RuleTypegetRuleType()inthashCode()booleanmatchesWithLevel(java.nio.file.Path path, PathActionLevel request)static PathRuleof(BlacklistPath blacklistedPath)static PathRuleof(WhitelistPath whitelistedPath)java.lang.StringtoString()
-
Method Details
-
getRuleType
-
getPathType
-
getActionLevel
-
getPathPattern
public java.lang.String getPathPattern() -
getPathMatcher
public java.nio.file.PathMatcher getPathMatcher() -
matchesWithLevel
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equalsin classjava.lang.Object
-
of
-
of
-