if (contentSource.getDownloadMode().equals(DownloadMode.FILESYSTEM)) { List<PackageVersionContentSource> allPackageVersions = contentSourceManager .getPackageVersionsFromContentSource(subject, contentSourceId, pc);
PreparedStatement ps2 = null; try { packageBits = createPackageBits(pk.getContentSource().getDownloadMode() == DownloadMode.DATABASE); if (pk.getContentSource().getDownloadMode() == DownloadMode.DATABASE) { packageBits = entityManager.find(PackageBits.class, packageBits.getId());
switch (pk.getContentSource().getDownloadMode()) { case NEVER: { return null; // no-op, our content source was told to never download package bits
String packageVersionLocation = pvcs.getLocation(); switch (pk.getContentSource().getDownloadMode()) { case NEVER: { return null; // no-op, our content source was told to never download package bits PreparedStatement ps2 = null; try { packageBits = createPackageBits(pk.getContentSource().getDownloadMode() == DownloadMode.DATABASE); if (pk.getContentSource().getDownloadMode() == DownloadMode.DATABASE) { conn = dataSource.getConnection();
if (source.getDownloadMode() == DownloadMode.NEVER) { String msg = "Download mode of NEVER for source [" + source.getName() + "], skipping " + "package bits sync for repo [" + repo.getName() + "]";