01: /*
02: * This file is part of the WfMOpen project.
03: * Copyright (C) 2001-2006 Danet GmbH (www.danet.de), BU BTS.
04: * All rights reserved.
05: *
06: * This program is free software; you can redistribute it and/or modify
07: * it under the terms of the GNU General Public License as published by
08: * the Free Software Foundation; either version 2 of the License, or
09: * (at your option) any later version.
10: *
11: * This program is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14: * GNU General Public License for more details.
15: *
16: * You should have received a copy of the GNU General Public License
17: * along with this program; if not, write to the Free Software
18: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19: *
20: * $Id: ProcessClosedAuditEvent.java,v 1.1 2007/01/26 14:38:12 drmlipp Exp $
21: *
22: * $Log: ProcessClosedAuditEvent.java,v $
23: * Revision 1.1 2007/01/26 14:38:12 drmlipp
24: * Minor updated to process close event delivery.
25: *
26: */
27: package de.danet.an.workflow.api;
28:
29: import de.danet.an.workflow.omgcore.ProcessData;
30: import de.danet.an.workflow.omgcore.WfStateAuditEvent;
31:
32: /**
33: * A <code>ProcessClosedAuditEvent</code> extends the
34: * <code>WfStateAuditEvent</code>. It is reported when a process changes
35: * its state to <code>closed</code>. In addition to the information provided
36: * by the base <code>WfStateAuditEvent</code>, this event provides the process'
37: * result. This makes the result available to listeners waiting for the
38: * end of a process even in cases when a process is automatically removed
39: * after completion.
40: *
41: * @author Michael Lipp
42: * @see de.danet.an.workflow.omgcore.WfProcess#result()
43: */
44: public interface ProcessClosedAuditEvent extends WfStateAuditEvent {
45:
46: /**
47: * @return Returns the result.
48: */
49: ProcessData result();
50:
51: }
|