final ReportBuilder rp = helper.getReportBuilder();
try {
Protocol protocol = getExecutionUnit().getRepository().getProtocol();
if (protocol instanceof HarvestProtocolAgp2Agp) {
HarvestProtocolAgp2Agp agp2agp = (HarvestProtocolAgp2Agp)protocol;
AgpSource source = agp2agp.getSource();
AgpDestination destination = agp2agp.getDestination();
AgpPush agpPush = new AgpPush(source, destination) {
private long counter;
@Override
protected boolean syncItem(AgpItem sourceItem) throws Exception {