|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjpl.eda.archive.server.NoOpRule
This rule does absolutely nothing. But it does provide a nice template for generating a new rule.
Rule| Constructor Summary | |
NoOpRule()
|
|
| Method Summary | |
static void |
main(java.lang.String[] argv)
Execute the rule via the command-line. |
boolean |
run(java.util.Properties props,
jpl.eda.util.JDBC_DB db,
Dataset dataset,
Product product,
int taskId)
Execute the rule via the Rule interface. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NoOpRule()
| Method Detail |
public boolean run(java.util.Properties props,
jpl.eda.util.JDBC_DB db,
Dataset dataset,
Product product,
int taskId)
throws RuleException
Rule interface.
run in interface Ruleprops - The system properties.db - The CAS database connection.dataset - The associated dataset information.product - The associated product information.taskId - The identifier for the associated task.
RuleException - If an error occurs.public static void main(java.lang.String[] argv)
The command-line arguments are: datasetName productId taskId
The program exits with status 0 on success, 1 on failure.
argv - The command-line arguments.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||