if (!jobDigest.url.equals(jobEndpoint)) {
throw new IllegalArgumentException("Incorrect job digest");
}
final JobDetail job = communicator.jobDetailFor(jobEndpoint);
if (!job.building() && Status.BROKEN != job.status()) {
sponsorCache.clear();
return new TargetDetail(job.url, job.url, job.name, job.status(), startTimeOf(job));
}
return new TargetDetail(job.url, job.url, job.name, statusOf(job), startTimeOf(job), buildsFor(job), sponsorsOf(job));