Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/de/intevation/artifactdatabase/state/State.java @ 327:8a3ddd374dd1
Enhanced the State interface with an endOfLife() method.
artifacts/trunk@2582 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 25 Aug 2011 13:47:41 +0000 |
parents | 55d08706ccf2 |
children | 4d3298295a64 |
comparison
equal
deleted
inserted
replaced
326:3447fa62f007 | 327:8a3ddd374dd1 |
---|---|
105 Document document, | 105 Document document, |
106 Node rootNode, | 106 Node rootNode, |
107 CallContext context, | 107 CallContext context, |
108 String uuid | 108 String uuid |
109 ); | 109 ); |
110 | |
111 | |
112 /** | |
113 * This method should be called by an Artifact that removes this State | |
114 * (current State and previous States). E.g. this might be interesting to | |
115 * remove generated files or stuff like that. | |
116 * | |
117 * @param artifact A parent Artifact. | |
118 * @param context The CallContext. | |
119 */ | |
120 public void endOfLife(Artifact artifact, Object context); | |
110 } | 121 } |
111 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : | 122 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : |