Package ai.nightfall.scan.model
Class WordList
java.lang.Object
ai.nightfall.scan.model.WordList
A list of words that can be used to customize the behavior of a detector while Nightfall performs a scan.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the list of words.booleanGet whether the words in the list are case-sensitive.
-
Constructor Details
-
WordList
Creates a new WordList object.- Parameters:
values- a list of wordsisCaseSensitive- whether Nightfall needs to consider case sensitivity when searching for matches
-
-
Method Details
-
getValues
Get the list of words.- Returns:
- a list of words
-
isCaseSensitive
public boolean isCaseSensitive()Get whether the words in the list are case-sensitive.- Returns:
- true if Nightfall needs to consider case sensitivity when searching for matches in the list, false otherwise
-