import java.util.List;
+import jalview.bin.Console;
import jalview.ws2.api.JobStatus;
import jalview.ws2.api.WebServiceJobHandle;
@Override
public void taskStarted(TaskI source, List subJobs)
{
+ Console.info("task started with " + subJobs.size() + " jobs");
}
@Override
public void taskStatusChanged(TaskI source, JobStatus status)
{
+ Console.info("task status " + status);
}
@Override
public void taskCompleted(TaskI source, Object result)
{
+ Console.info("task completed");
}
@Override
public void taskException(TaskI source, Exception e)
{
+ Console.info("task failed", e);
}
@Override
public void taskRestarted(TaskI source)
{
+ Console.info("task restarted");
}
@Override
public void subJobStatusChanged(TaskI source, JobI job,
JobStatus status)
{
+ Console.info("sub-job " + job.getInternalId() + " status " + status);
}
@Override