use of edu.unc.lib.boxc.deposit.validate.VirusScanJob in project box-c by UNC-Libraries.
the class VirusScanJobTest method initializeJob.
private void initializeJob() {
job = new VirusScanJob();
job.setJobUUID(jobUUID);
job.setDepositUUID(depositUUID);
job.setDepositDirectory(depositDir);
setField(job, "pidMinter", pidMinter);
job.setClamClient(clamClient);
job.setPremisLoggerFactory(premisLoggerFactory);
setField(job, "depositModelManager", depositModelManager);
setField(job, "depositsDirectory", depositsDirectory);
setField(job, "depositStatusFactory", depositStatusFactory);
setField(job, "jobStatusFactory", jobStatusFactory);
depositJobId = depositUUID + ":" + this.getClass().getName();
setField(job, "depositJobId", depositJobId);
job.setExecutorService(executorService);
job.init();
}
Aggregations