JAL-3878 Make BaseJob setters public so they can be accessed by other tasks.
authorMateusz Warowny <mmzwarowny@dundee.ac.uk>
Tue, 5 Apr 2022 12:15:28 +0000 (14:15 +0200)
committerMateusz Warowny <mmzwarowny@dundee.ac.uk>
Tue, 5 Apr 2022 12:15:28 +0000 (14:15 +0200)
src/jalview/ws2/actions/BaseJob.java

index 906b625..945c7b0 100644 (file)
@@ -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;
   }