|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JobMessage
A JobMessage
is the data passed on to a Job
for
executing its task. Specializations of this class would have additional
information regardin the data content and action modifiers for the
Job
. For example, an email message might have data like the
mesage body, the recepients address, etc.
A JobMessage
is uniquely identified by the type string
returned by the object (the #getJobMessageType()
method).
The DefaultJobMessage
implementation provided is supported by
all Job
s.
Job
,
DefaultJobMessage
Field Summary | |
---|---|
static int |
ACTION_FILTER
Indicates that the message was generated from a Filter action. |
static short |
MODE_DAEMON
Indicates that the message was generated while Insight was running in the Daemon mode. |
static short |
MODE_INTERACTIVE
Indicates that the message was generated while Insight was running in the Interactive mode. |
Method Summary | |
---|---|
int |
getAction()
Returns the action which caused the message. |
FilterCriteria |
getFilterCriteria()
Returns the criteria that was in use on the action while the message was generated. |
short |
getInsightMode()
Returns the mode in which Insight was running when the message was generated. |
java.lang.String |
getJobMessageType()
Returns the type of the message. |
Field Detail |
---|
static final short MODE_INTERACTIVE
static final short MODE_DAEMON
static final int ACTION_FILTER
Method Detail |
---|
java.lang.String getJobMessageType()
JobMessage
class.
FilterCriteria getFilterCriteria()
short getInsightMode()
int getAction()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |