|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjpl.eda.archive.server.NoOpTask
This task does absolutely nothing. But it does provide a nice template for generating a new task.
Task| Constructor Summary | |
NoOpTask()
|
|
| Method Summary | |
static void |
main(java.lang.String[] argv)
Execute the task via the command-line. |
void |
run(java.util.Properties props,
jpl.eda.util.JDBC_DB db,
Dataset dataset,
Product product,
int taskId,
int execId)
Execute the task via the Task interface. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NoOpTask()
| Method Detail |
public void run(java.util.Properties props,
jpl.eda.util.JDBC_DB db,
Dataset dataset,
Product product,
int taskId,
int execId)
throws TaskException
Task interface.
run in interface Taskprops - The system properties.db - The Archive Service database connection.dataset - The associated dataset information.product - The associated product information.taskId - The task identifier.execId - The execution identifier.
TaskException - If an error occurs setting up or sending the message.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 | ||||||||||