01: /*
02: * This file is part of the WfMOpen project.
03: * Copyright (C) 2001-2003 Danet GmbH (www.danet.de), GS-AN.
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: Application.java,v 1.2 2006/09/29 12:32:07 drmlipp Exp $
21: *
22: * $Log: Application.java,v $
23: * Revision 1.2 2006/09/29 12:32:07 drmlipp
24: * Consistently using WfMOpen as projct name now.
25: *
26: * Revision 1.1.1.1 2003/06/30 20:05:13 drmlipp
27: * Initial import
28: *
29: * Revision 1.4 2003/06/27 08:51:46 lipp
30: * Fixed copyright/license information.
31: *
32: * Revision 1.3 2002/12/19 16:21:57 lipp
33: * Removed unneeded import.
34: *
35: * Revision 1.2 2002/09/19 20:09:26 lipp
36: * Removed methods from Application interface and reorganized
37: * asynchronous tool invocation.
38: *
39: * Revision 1.1 2002/09/17 15:24:24 lipp
40: * Renamed Tool to Application and copied some functionality to
41: * ProcessDefintion.
42: *
43: * Revision 1.4 2002/09/17 09:20:12 lipp
44: * Added ApplicationNotStoppedException.
45: *
46: * Revision 1.3 2002/08/26 20:23:13 lipp
47: * Lots of method renames.
48: *
49: * Revision 1.2 2002/05/21 13:26:40 huaiyang
50: * New method of terminate.
51: *
52: * Revision 1.1 2002/05/17 12:52:34 lipp
53: * Cleaned up interface to tools.
54: *
55: */
56: package de.danet.an.workflow.api;
57:
58: /**
59: * This interface defines methods to access the definition of an application
60: * that participates in a workflow process.
61: *
62: * @author <a href="mailto:lipp@danet.de"></a>
63: * @version $Revision: 1.2 $
64: */
65:
66: public interface Application {
67:
68: /**
69: * Returns the id of the Application.
70: *
71: * @return The id as specified in the process definition.
72: */
73: String id();
74:
75: /**
76: * Returns the description of the application.
77: *
78: * @return The description as specified in the process definition.
79: */
80: String description();
81: }
|