private List<String> getJobQueueAsJobInfoList(Queue<IServerJob> jobQueue) { List<String> res = new ArrayList<>(); for (IServerJob job : jobQueue) { if (job instanceof SingleJob) { SingleJob sj = (SingleJob) job; if (sj.job.isSetImageJob()) { ImageJob ij = sj.job.getImageJob(); StringBuilder infoString = new StringBuilder(); if (ij.isSetName()) { infoString.append(ij.getName()); } if (ij.isSetName()) { infoString.append(ij.getName()); infoString.append("; "); } res.add(infoString.toString()); continue; } } // otherwise: res.add(job.toString()); } return res; }
boolean first = true; if (isSetName()) { sb.append("name:"); if (this.name == null) {
if (struct.isSetName()) { oprot.writeFieldBegin(NAME_FIELD_DESC); oprot.writeString(struct.name);
return isSetName(); case FRAGMENT_SOURCE: return isSetFragmentSource();
if (other.isSetName()) { this.name = other.name;