use of edu.unc.lib.boxc.deposit.validate.FixityCheckJob in project box-c by UNC-Libraries.
the class FixityCheckJobTest method initializeJob.
private void initializeJob() {
job = new FixityCheckJob(jobUUID, depositUUID);
job.setDepositStatusFactory(depositStatusFactory);
setField(job, "depositModelManager", depositModelManager);
setField(job, "premisLoggerFactory", premisLoggerFactory);
setField(job, "depositsDirectory", depositsDirectory);
setField(job, "jobStatusFactory", jobStatusFactory);
job.setExecutorService(executorService);
job.setFlushRate(FLUSH_RATE);
job.setMaxQueuedJobs(2);
job.init();
}
Aggregations