2 |
26 Feb 07 |
jari |
1 |
/* |
2 |
26 Feb 07 |
jari |
Copyright @ 1999-2003, The Institute for Genomic Research (TIGR). |
2 |
26 Feb 07 |
jari |
All rights reserved. |
2 |
26 Feb 07 |
jari |
4 |
*/ |
2 |
26 Feb 07 |
jari |
5 |
/* |
2 |
26 Feb 07 |
jari |
* $RCSfile: FinishedJob.java,v $ |
2 |
26 Feb 07 |
jari |
* $Revision: 1.3 $ |
2 |
26 Feb 07 |
jari |
* $Date: 2005/03/10 15:28:24 $ |
2 |
26 Feb 07 |
jari |
* $Author: braistedj $ |
2 |
26 Feb 07 |
jari |
* $State: Exp $ |
2 |
26 Feb 07 |
jari |
11 |
*/ |
2 |
26 Feb 07 |
jari |
12 |
package org.tigr.remote.protocol; |
2 |
26 Feb 07 |
jari |
13 |
|
2 |
26 Feb 07 |
jari |
14 |
public abstract class FinishedJob { |
2 |
26 Feb 07 |
jari |
15 |
|
2 |
26 Feb 07 |
jari |
16 |
private String id; |
2 |
26 Feb 07 |
jari |
17 |
|
2 |
26 Feb 07 |
jari |
18 |
/** |
2 |
26 Feb 07 |
jari |
* Constructs a <code>FinishedJob</code> with specified job id. |
2 |
26 Feb 07 |
jari |
20 |
*/ |
2 |
26 Feb 07 |
jari |
21 |
public FinishedJob(String id) { |
2 |
26 Feb 07 |
jari |
22 |
this.id = id; |
2 |
26 Feb 07 |
jari |
23 |
} |
2 |
26 Feb 07 |
jari |
24 |
|
2 |
26 Feb 07 |
jari |
25 |
/** |
2 |
26 Feb 07 |
jari |
* Must be overriden to accept the specified JobVisitor. |
2 |
26 Feb 07 |
jari |
27 |
*/ |
2 |
26 Feb 07 |
jari |
28 |
public abstract void accept( JobVisitor v ); |
2 |
26 Feb 07 |
jari |
29 |
|
2 |
26 Feb 07 |
jari |
30 |
/** |
2 |
26 Feb 07 |
jari |
* Returns a job id. |
2 |
26 Feb 07 |
jari |
32 |
*/ |
2 |
26 Feb 07 |
jari |
33 |
public String getId() { return id;} |
2 |
26 Feb 07 |
jari |
34 |
|
2 |
26 Feb 07 |
jari |
35 |
/** |
2 |
26 Feb 07 |
jari |
* Sets a job id. |
2 |
26 Feb 07 |
jari |
37 |
*/ |
2 |
26 Feb 07 |
jari |
38 |
public void setId(String id) { this.id = id;} |
2 |
26 Feb 07 |
jari |
39 |
} |