public final enum

NotificationType

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.pnfsoftware.jeb.core.units.NotificationType

Class Overview

Notification types reported by units.

Summary

Enum Values
NotificationType  AREA_OF_INTEREST  A generic type to signify an area of interest within a unit. 
NotificationType  CORRUPTION  Input corruption has been detected. 
NotificationType  DEPRECATED_FEATURE  The unit has detected features that have been deprecated. 
NotificationType  ERROR  A generic type to signify an error in the unit. 
NotificationType  INFO  A generic type similar to AREA_OF_INTEREST
NotificationType  MALICIOUS  The intent is malicious. 
NotificationType  POTENTIALLY_HARMFUL  This type indicates usage of a feature not recommended by guidelines due to its potential dangerousness. 
NotificationType  UNSUPPORTED_FEATURE  Some input cannot be parsed because of a limitation within the unit itself. 
NotificationType  WARNING  A generic type to signify a warning in the unit. 
Public Methods
String getDescription()
A description string for the notification.
int getLevel()
Get the notification level.
String toString()
static NotificationType valueOf(String name)
final static NotificationType[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final NotificationType AREA_OF_INTEREST

A generic type to signify an area of interest within a unit. Same as INFO.

public static final NotificationType CORRUPTION

Input corruption has been detected.

public static final NotificationType DEPRECATED_FEATURE

The unit has detected features that have been deprecated.

public static final NotificationType ERROR

A generic type to signify an error in the unit.

public static final NotificationType INFO

A generic type similar to AREA_OF_INTEREST.

public static final NotificationType MALICIOUS

The intent is malicious.

public static final NotificationType POTENTIALLY_HARMFUL

This type indicates usage of a feature not recommended by guidelines due to its potential dangerousness.

public static final NotificationType UNSUPPORTED_FEATURE

Some input cannot be parsed because of a limitation within the unit itself.

public static final NotificationType WARNING

A generic type to signify a warning in the unit.

Public Methods

public String getDescription ()

A description string for the notification.

Returns
  • the description string

public int getLevel ()

Get the notification level. The level is a number between 0 and 100 that indicates the level of interest associated with the notification.

Returns
  • the notification level

public String toString ()

public static NotificationType valueOf (String name)

public static final NotificationType[] values ()