<prologue> | <epilogue>

Defines custom code to execute before and after staging.

Prologue-Epilogue

For example:

<stage-rowsource rowsource="Parts">
   <map column="part" value="${part}"/>
   <map column="location" value="${location}">
   <map column="standardCost" value="${standard cost}"/>
   <epilogue class="com.acme.etl.CopyStandardCost”>
     <param name="hq-location" class="java.lang.String" value="Xanadu"/>
</stage-rowsource></epilogue>

The <epilogue> element in this example causes the following Java code to be executed on completion of the stage command:

StageEpilogue epilogue = new com.acme.etl.CopyStandardCost("Xanadu");
epilogue.epilogue();

class

Required: Name of the Java class that implements the custom <prologue> or <epilogue> code.