kaos.notification
Class NotifyRequest

java.lang.Object
  extended by kaos.notification.NotifyRequest
All Implemented Interfaces:
java.io.Serializable

public class NotifyRequest
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
NotifyRequest(ActionInstanceDescription triggerAction)
           
NotifyRequest(ActionInstanceDescription triggerAction, ActionInstanceDescription notifyAction)
           
NotifyRequest(ActionInstanceDescription triggerAction, ActionInstanceDescription notifyAction, java.lang.String subject, java.lang.String body)
           
NotifyRequest(ActionInstanceDescription triggerAction, ActionInstanceDescription notifyAction, java.lang.String subject, java.lang.String body, java.lang.String recipient)
           
NotifyRequest(ActionInstanceDescription triggerAction, ActionInstanceDescription notifyAction, java.lang.String subject, java.lang.String body, java.lang.String recipient, java.lang.String mode)
           
NotifyRequest(ActionInstanceDescription triggerAction, java.lang.String subject, java.lang.String body)
           
NotifyRequest(ActionInstanceDescription triggerAction, java.lang.String subject, java.lang.String body, java.lang.String recipient)
           
NotifyRequest(ActionInstanceDescription triggerAction, java.lang.String subject, java.lang.String body, java.lang.String recipient, java.lang.String mode)
           
 
Method Summary
 java.lang.String get_body(boolean abbreviated)
          Extracts the notification message body from the properties of the given action.
 java.lang.String get_mode()
           
 ActionInstanceDescription get_notifyAction()
           
 java.lang.String get_recipient()
           
 java.lang.String get_subject(boolean abbreviated)
          Extracts the notification message subject from the properties of the given action.
 ActionInstanceDescription get_triggerAction()
           
 java.lang.String getNameFromDaml(java.lang.String damlString)
           
 void set_body(java.lang.String string)
           
 void set_mode(java.lang.String string)
           
 void set_notifyAction(ActionInstanceDescription description)
           
 void set_recipient(java.lang.String string)
           
 void set_subject(java.lang.String string)
           
 void set_triggerAction(ActionInstanceDescription description)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotifyRequest

public NotifyRequest(ActionInstanceDescription triggerAction)

NotifyRequest

public NotifyRequest(ActionInstanceDescription triggerAction,
                     java.lang.String subject,
                     java.lang.String body)

NotifyRequest

public NotifyRequest(ActionInstanceDescription triggerAction,
                     java.lang.String subject,
                     java.lang.String body,
                     java.lang.String recipient)

NotifyRequest

public NotifyRequest(ActionInstanceDescription triggerAction,
                     java.lang.String subject,
                     java.lang.String body,
                     java.lang.String recipient,
                     java.lang.String mode)

NotifyRequest

public NotifyRequest(ActionInstanceDescription triggerAction,
                     ActionInstanceDescription notifyAction)

NotifyRequest

public NotifyRequest(ActionInstanceDescription triggerAction,
                     ActionInstanceDescription notifyAction,
                     java.lang.String subject,
                     java.lang.String body)

NotifyRequest

public NotifyRequest(ActionInstanceDescription triggerAction,
                     ActionInstanceDescription notifyAction,
                     java.lang.String subject,
                     java.lang.String body,
                     java.lang.String recipient)

NotifyRequest

public NotifyRequest(ActionInstanceDescription triggerAction,
                     ActionInstanceDescription notifyAction,
                     java.lang.String subject,
                     java.lang.String body,
                     java.lang.String recipient,
                     java.lang.String mode)
Method Detail

get_body

public java.lang.String get_body(boolean abbreviated)
Extracts the notification message body from the properties of the given action. Actor, Action, Status, Properties

Parameters:
abbreviated - - true to keep the text as short as possible
Returns:

get_subject

public java.lang.String get_subject(boolean abbreviated)
Extracts the notification message subject from the properties of the given action. Actor, Action, Status (e.g. Robot MoveTo Failed)

Parameters:
abbreviated - - true to keep the subject as short as possible
Returns:

getNameFromDaml

public java.lang.String getNameFromDaml(java.lang.String damlString)

set_body

public void set_body(java.lang.String string)
Parameters:
string -

set_subject

public void set_subject(java.lang.String string)
Parameters:
string -

get_triggerAction

public ActionInstanceDescription get_triggerAction()
Returns:

get_notifyAction

public ActionInstanceDescription get_notifyAction()
Returns:

set_triggerAction

public void set_triggerAction(ActionInstanceDescription description)
Parameters:
description -

set_notifyAction

public void set_notifyAction(ActionInstanceDescription description)

get_recipient

public java.lang.String get_recipient()
Returns:

set_recipient

public void set_recipient(java.lang.String string)
Parameters:
string -

get_mode

public java.lang.String get_mode()
Returns:

set_mode

public void set_mode(java.lang.String string)
Parameters:
string -