JAL-4199 Initialize jobs and tasks with status CREATED
[jalview.git] / src / jalview / ws2 / actions / BaseJob.java
index 906b625..8376d20 100644 (file)
@@ -31,7 +31,7 @@ public abstract class BaseJob implements JobI
 
   protected final List<SequenceI> inputSeqs;
 
-  protected JobStatus status = null;
+  protected JobStatus status = JobStatus.CREATED;
 
   protected String log = "";
 
@@ -117,7 +117,7 @@ public abstract class BaseJob implements JobI
    * @param log
    *          new log
    */
-  final void setLog(String log)
+  public final void setLog(String log)
   {
     String oldLog = this.log;
     this.log = log;
@@ -136,7 +136,7 @@ public abstract class BaseJob implements JobI
    * 
    * @param errorLog
    */
-  final void setErrorLog(String errorLog)
+  public final void setErrorLog(String errorLog)
   {
     String oldLog = this.errorLog;
     this.errorLog = errorLog;
@@ -161,7 +161,7 @@ public abstract class BaseJob implements JobI
    * 
    * @param job
    */
-  final void setServerJob(WebServiceJobHandle job)
+  public final void setServerJob(WebServiceJobHandle job)
   {
     this.serverJob = job;
   }