logger.fine("Loading fingerprint "+file+" took "+(System.currentTimeMillis()-start)+"ms"); if (f.facets==null) f.facets = new PersistedList<FingerprintFacet>(f); for (FingerprintFacet facet : f.facets) facet._setOwner(f);
public WorkflowRun(WorkflowJob job) throws IOException { super(job); firstTime = true; checkouts = new PersistedList<>(this); //System.err.printf("created %s @%h%n", this, this); }
synchronized @Nonnull List<SCMCheckout> checkouts(@CheckForNull TaskListener listener) { if (checkouts == null) { LOGGER.log(Level.WARNING, "JENKINS-26761: no checkouts in {0}", this); if (listener != null) { listener.error("JENKINS-26761: list of SCM checkouts in " + this + " was lost; polling will be broken"); } checkouts = new PersistedList<>(this); // Could this.save(), but might pollute diagnosis, and (worse) might clobber real data if there is >1 WorkflowRun with the same ID. } return checkouts; }
public GitHubHookRegisterProblemMonitor() { super(GitHubHookRegisterProblemMonitor.class.getSimpleName()); load(); ignored = ignored == null ? new PersistedList<GitHubRepositoryName>(this) : ignored; ignored.setOwner(this); }
logger.fine("Loading fingerprint "+file+" took "+(System.currentTimeMillis()-start)+"ms"); if (f.facets==null) f.facets = new PersistedList<FingerprintFacet>(f); for (FingerprintFacet facet : f.facets) facet._setOwner(f);
disabledSubProjects = new PersistedList<>(this);