Package com.mindtree.techworks.insight.reporting.jobs

Provides for action on monitoring status in Insight Actions.

See:
          Description

Interface Summary
Job A Job is an action that is invoked by a Verifier when it meets its criteria.
 

Class Summary
JobPersistanceHandler Handles the serialization and deserialization of Jobs.
 

Exception Summary
JobExecutionException Exception thrown if the execution of a Job could not be completed.
JobInitializationException An exception that indicates a failure to initialize or deserialize a Job.
UnsupportedMessageTypeException An exception that indicates if a Job does not support a particular type of JobMessage.
 

Package com.mindtree.techworks.insight.reporting.jobs Description

Provides for action on monitoring status in Insight Actions.

A Job executes a particular action and is called from the Verifier with the details of the execution in a JobMessage.

Job Design

The UML diagram below gives the High Level design of Job


Click on any of the classes above to see a detailed documentation of the class.

Important Classes

Job

This is the interface defining the contract for an executable action. A Job can be uniquely identified by its UID. For more information on Job see Job.

When the Job#execute(JobMessage) method is called on the Job, it might throw a UnsupportedMessageTypeException if the message passed to the Job is not supported. It might also throw a JobExecutionException if there is an exception while executing the Job.

JobPersistanceHandler

This class handles the serialization and deserialization of Jobs. The class also defines the format for serializing Jobs. For more information see the documentation for JobPersistanceHandler.

If a Job cannot be deserialized an InitializationException - JobInitializationException is thrown. The class uses utility methods in SerializationXmlUtils.

Since:
Insight 1.5
Version:
$Revision: 28 $ $Date: 2007-12-16 05:06:46 -0700 (Sun, 16 Dec 2007) $
Author:
Bindul Bhowmik
See Also:
com.mindtree.techworks.insight.reporting.verifiers, com.mindtree.techworks.insight.reporting.jobs.message


Copyright © 2003-2008 MindTree Consulting Ltd.. All Rights Reserved.