jpl.eda.archive.server
Interface Rule

All Known Implementing Classes:
NoOpRule

public interface Rule

This interface provides a method for performing a rule.

Version:
$Revision: 1.2 $
Author:
S. Hardman

Method Summary
 boolean run(java.util.Properties props, jpl.eda.util.JDBC_DB db, Dataset dataset, Product product, int taskId)
          Perform the rule.
 

Method Detail

run

public boolean run(java.util.Properties props,
                   jpl.eda.util.JDBC_DB db,
                   Dataset dataset,
                   Product product,
                   int taskId)
            throws RuleException
Perform the rule.

Parameters:
props - The system properties.
db - The database connection.
dataset - The dataset information.
product - The product information.
taskId - The task identifier.
Returns:
True if the rule is satisfied, false if it is not.
Throws:
RuleException - If the rule fails to perform successfully.


Copyright © 1999-2005 NASA Jet Propulsion Laboratory, California Institute of Technology. All Rights Reserved.