Class WordList

java.lang.Object
ai.nightfall.scan.model.WordList

public class WordList extends Object
A list of words that can be used to customize the behavior of a detector while Nightfall performs a scan.
  • Constructor Details

    • WordList

      public WordList(List<String> values, boolean isCaseSensitive)
      Creates a new WordList object.
      Parameters:
      values - a list of words
      isCaseSensitive - whether Nightfall needs to consider case sensitivity when searching for matches
  • Method Details

    • getValues

      public List<String> 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