# Uses of Enum
org.apache.tapestry5.alerts.Severity

Packages that use Severity
Package
Description
org.apache.tapestry5.alerts
Support for a standard way of presenting alerts to the user, via the `AlertManager` service combined with the `Alerts` component.
org.apache.tapestry5.internal.alerts
[INTERNAL USE ONLY] support classes for Alerts; API subject to change

- ## Uses of Severity in org.apache.tapestry5.alerts

  Fields in org.apache.tapestry5.alerts declared as Severity
  Modifier and Type
  Field
  Description
  `final Severity`
  Alert.`severity`
  Methods in org.apache.tapestry5.alerts that return Severity
  Modifier and Type
  Method
  Description
  `static Severity`
  Severity.`valueOf(String name)`
  Returns the enum constant of this type with the specified name.
  `static Severity[]`
  Severity.`values()`
  Returns an array containing the constants of this enum type, in the order they are declared.
  Methods in org.apache.tapestry5.alerts with parameters of type Severity
  Modifier and Type
  Method
  Description
  `void`
  AlertManager.`alert(Duration duration, Severity severity, String message)`
  Adds an alert with configurable severity and duration.
  `void`
  AlertManager.`alert(Duration duration, Severity severity, String message, boolean markup)`
  Adds an alert with configurable severity and duration.
  Constructors in org.apache.tapestry5.alerts with parameters of type Severity
  Modifier
  Constructor
  Description
  ``
  `Alert(Duration duration, Severity severity, String message)`
  ``
  `Alert(Duration duration, Severity severity, String message, boolean markup)`
  ``
  `Alert(Severity severity, String message)`
  Alert with default duration of `Duration.SINGLE`.

- ## Uses of Severity in org.apache.tapestry5.internal.alerts

  Methods in org.apache.tapestry5.internal.alerts with parameters of type Severity
  Modifier and Type
  Method
  Description
  `void`
  AlertManagerImpl.`alert(Duration duration, Severity severity, String message)`
  `void`
  AlertManagerImpl.`alert(Duration duration, Severity severity, String message, boolean markup)`