comparison artifacts/src/main/java/de/intevation/artifacts/Hook.java @ 294:b530e83acf2e

Adapted the signature of Hook.execute() which now retrieves a Document as third parameter. artifacts/trunk@2333 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 14 Jul 2011 14:41:00 +0000
parents 39c0ff00d188
children
comparison
equal deleted inserted replaced
293:a367a0d011af 294:b530e83acf2e
1 package de.intevation.artifacts; 1 package de.intevation.artifacts;
2 2
3 import org.w3c.dom.Document;
3 import org.w3c.dom.Node; 4 import org.w3c.dom.Node;
4 5
5 6
6 public interface Hook { 7 public interface Hook {
7 8
8 void setup(Node config); 9 void setup(Node config);
9 10
10 void execute(Artifact artifact, CallContext context); 11 void execute(Artifact artifact, CallContext context, Document document);
11 } 12 }
12 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 13 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org