|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nhindirect.stagent.mail.notifications.Disposition
public class Disposition
Encapsulates message disposition status.
| Constructor Summary | |
|---|---|
Disposition(NotificationType notification)
Initializes an instance with the specified disposition notification type and automatic modes. |
|
Disposition(TriggerType triggerType,
SendType sendType,
NotificationType notification)
Initializes an instance with the specified disposition notification type and action and sending modes |
|
| Method Summary | |
|---|---|
NotificationType |
getNotification()
Gets the type of disposition indicated |
SendType |
getSendType()
Gets the sending type (system or user) that sent this disposition (sending-mode). |
TriggerType |
getTriggerType()
Gets the trigger action that generated this disposition (action-mode). |
boolean |
isError()
Indicates if this disposition is an error report. |
void |
setError(boolean error)
Sets the error status indicating if this disposition is an error report. |
void |
setNotification(NotificationType notification)
Sets the type of disposition indicated. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Disposition(NotificationType notification)
notification - The disposition notification type.
public Disposition(TriggerType triggerType,
SendType sendType,
NotificationType notification)
triggerType - The action (trigger) mode typesendType - The sending mode typenotification - The disposition notification type| Method Detail |
|---|
public boolean isError()
public void setError(boolean error)
error - true if this disposition is an error report. false otherwise.public NotificationType getNotification()
public void setNotification(NotificationType notification)
notification - The type of disposition indicated.public TriggerType getTriggerType()
public SendType getSendType()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||