static class
RuleSet.RuleSetBuilder
A builder class to create a ruleset.
static RuleSet
copy(RuleSet original)
Creates a copy of the given ruleset.
static RuleSet
create(String name, String description, String fileName, Collection<Pattern> excludePatterns, Collection<Pattern> includePatterns, Iterable<? extends Rule> rules)
Creates a new ruleset with the given metadata such as name, description, fileName, exclude/include patterns are used.
boolean
equals(Object o)
Two rulesets are equals, if they have the same name and contain the same rules.
static RuleSet
forSingleRule(Rule rule)
Creates a new ruleset containing a single rule.
long
getChecksum()
Retrieves the current instance checksum
String
getDescription()
List<Pattern>
getFileExclusions()
Returns the file exclusion patterns as an unmodifiable list.
List<Pattern>
getFileInclusions()
Returns the file inclusion patterns as an unmodifiable list.
String
getFileName()
String
getName()
Rule
getRuleByName(String ruleName)
Returns the first Rule found with the given name (case-sensitive).
Collection<Rule>
getRules()
Returns the actual Collection of rules in this ruleset
int
hashCode()
void
removeDysfunctionalRules(Collection<Rule> collector)
Remove and collect any misconfigured rules.
int
size()
Returns the number of rules in this ruleset
RuleSet.RuleSetBuilder
toBuilder()
Return a ruleset builder used to create rules.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4