org.opennms.web.notification.bobject
Class NotificationTarget

java.lang.Object
  extended by org.opennms.web.notification.bobject.NotificationTarget
Direct Known Subclasses:
GroupTarget, NotifTarget, UserTarget

public abstract class NotificationTarget
extends Object

An interface used to encapsulate targets for notifications

Since:
1.8.1
Version:
1.1.1.1
Author:
Jason Johns , OpenNMS , Jason Johns , OpenNMS

Field Summary
static int TARGET_TYPE_GROUP
          Constant TARGET_TYPE_GROUP=3
static int TARGET_TYPE_NOTIF
          Constant TARGET_TYPE_NOTIF=2
static int TARGET_TYPE_USER
          The types of targets possible
 
Constructor Summary
NotificationTarget()
           
 
Method Summary
abstract  int getType()
          Returns the type of a specific target
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TARGET_TYPE_USER

public static final int TARGET_TYPE_USER
The types of targets possible

See Also:
Constant Field Values

TARGET_TYPE_NOTIF

public static final int TARGET_TYPE_NOTIF
Constant TARGET_TYPE_NOTIF=2

See Also:
Constant Field Values

TARGET_TYPE_GROUP

public static final int TARGET_TYPE_GROUP
Constant TARGET_TYPE_GROUP=3

See Also:
Constant Field Values
Constructor Detail

NotificationTarget

public NotificationTarget()
Method Detail

getType

public abstract int getType()
Returns the type of a specific target

Returns:
a int.


Copyright © 2011. All Rights Reserved.