1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.vnd.batch;
17
18 import java.util.Date;
19
20 import org.kuali.ole.sys.batch.AbstractStep;
21 import org.kuali.ole.vnd.batch.service.VendorExcludeService;
22
23 public class VendorMatchStep extends AbstractStep {
24 VendorExcludeService vendorExcludeService;
25
26 @Override
27 public boolean execute(String jobName, Date jobRunDate) throws InterruptedException {
28 return vendorExcludeService.matchVendors();
29 }
30
31 public void setVendorExcludeService(VendorExcludeService vendorExcludeService) {
32 this.vendorExcludeService = vendorExcludeService;
33 }
34
35 }