Class Feedback

java.lang.Object
me.gosimple.nbvcxz.resources.Feedback

public class Feedback extends Object
Author:
Adam Brusselback.
  • Constructor Details

    • Feedback

      public Feedback(Configuration configuration, String result)
      Parameters:
      configuration - the Configuration object.
      result - the primary message to display.
    • Feedback

      public Feedback(Configuration configuration, String result, String warning, String... suggestions)
      Parameters:
      configuration - the Configuration object.
      result - the primary message to display.
      warning - warning string
      suggestions - suggestions
  • Method Details

    • getResult

      public String getResult()
      Returns:
      if the password was secure enough or not (not null)
    • getWarningKey

      public String getWarningKey()
      Get the raw untranslated warning key.
      Returns:
      the warning key (nullable)
    • getWarning

      public String getWarning()
      Returns:
      the warning (nullable)
    • getSuggestionKeys

      public List<String> getSuggestionKeys()
      Get the raw untranslated suggestion keys.
      Returns:
      list of suggestion keys (list is not null)
    • getSuggestion

      public List<String> getSuggestion()
      Returns:
      list of suggestions (list is not null)