...
To hook a document execution, you need to define a custom system under development.
Code Block | ||
---|---|---|
| ||
public static class CustomSystemUnderDevelopment extends DefaultSystemUnderDevelopment { public CustomSystemUnderDevelopment( String... params ) { } public void onStartDocument(Document document) { //this method is called before GreenPepper execute a document } public void onEndDocument(Document document) { //this method is called after GreenPepper has executed the document } } |
...