Enum Class SettingsPanelPersistence

java.lang.Object
java.lang.Enum<SettingsPanelPersistence>
burp.api.montoya.ui.settings.SettingsPanelPersistence
All Implemented Interfaces:
Serializable, Comparable<SettingsPanelPersistence>, Constable

public enum SettingsPanelPersistence extends Enum<SettingsPanelPersistence>
Used to define the persistence behavior of SettingsPanelWithData.
  • Enum Constant Details

    • NONE

      public static final SettingsPanelPersistence NONE
      Settings value are held in memory and not saved when Burp closes.
    • PROJECT_SETTINGS

      public static final SettingsPanelPersistence PROJECT_SETTINGS
      Settings are saved within the current project file.
    • USER_SETTINGS

      public static final SettingsPanelPersistence USER_SETTINGS
      Settings are saved within user data.
  • Method Details

    • values

      public static SettingsPanelPersistence[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SettingsPanelPersistence valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null