public class ExclusionRule extends Object
| Constructor and Description |
|---|
ExclusionRule(Regex regex,
String matchType)
Create an exclusion rule that uses a regular expression to make a disqualification decision.
|
ExclusionRule(WordList wordList,
String matchType)
Create an exclusion rule that uses a word list to make a disqualification decision.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getExclusionType()
Get the exclusion type.
|
String |
getMatchType()
Get the match type.
|
Regex |
getRegex()
Get the regex.
|
WordList |
getWordList()
Get the word list.
|
public ExclusionRule(Regex regex, String matchType)
regex - the regular expressionmatchType - the match type; valid values are FULL or PARTIALpublic String getMatchType()
PARTIAL or
FULL.public String getExclusionType()
WORD_LIST or REGEX.
The corresponding field in this object must be set according to the value specified here.public Regex getRegex()
public WordList getWordList()
Copyright © 2022. All rights reserved.