BATCH-84: Modified JobIdentifier interface to include new JobRuntimeParameters value object, and modified its subclasses accordingly.

This commit is contained in:
lucasward
2008-01-07 06:19:21 +00:00
parent 9ab9788cc0
commit fc8c14501c

View File

@@ -42,10 +42,8 @@ public class JdbcJobRepositoryTests extends AbstractTransactionalDataSourceSprin
}
protected void onSetUpInTransaction() throws Exception {
jobIdentifier = new ScheduledJobIdentifier("Job1");
jobIdentifier.setName("Job1");
jobIdentifier.setJobKey("TestStream");
jobIdentifier.setScheduleDate(new SimpleDateFormat("yyyyMMdd").parse("20070505"));
jobIdentifier = new ScheduledJobIdentifier("Job1", "TestStream",
new SimpleDateFormat("yyyyMMdd").parse("20070505"));
jobConfiguration = new JobConfiguration("test-job");
jobConfiguration.setRestartable(true);
}