001 //$HeadURL: http://svn.wald.intevation.org/svn/deegree/base/trunk/src/org/deegree/ogcwebservices/wps/execute/Status.java $
002 /*----------------------------------------------------------------------------
003 This file is part of deegree, http://deegree.org/
004 Copyright (C) 2001-2009 by:
005 Department of Geography, University of Bonn
006 and
007 lat/lon GmbH
008
009 This library is free software; you can redistribute it and/or modify it under
010 the terms of the GNU Lesser General Public License as published by the Free
011 Software Foundation; either version 2.1 of the License, or (at your option)
012 any later version.
013 This library is distributed in the hope that it will be useful, but WITHOUT
014 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
015 FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
016 details.
017 You should have received a copy of the GNU Lesser General Public License
018 along with this library; if not, write to the Free Software Foundation, Inc.,
019 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
020
021 Contact information:
022
023 lat/lon GmbH
024 Aennchenstr. 19, 53177 Bonn
025 Germany
026 http://lat-lon.de/
027
028 Department of Geography, University of Bonn
029 Prof. Dr. Klaus Greve
030 Postfach 1147, 53001 Bonn
031 Germany
032 http://www.geographie.uni-bonn.de/deegree/
033
034 e-mail: info@deegree.org
035 ----------------------------------------------------------------------------*/
036 package org.deegree.ogcwebservices.wps.execute;
037
038 /**
039 * StatusType.java
040 *
041 * Created on 09.03.2006. 23:19:43h
042 *
043 * Description of the status of process execution.
044 *
045 *
046 * @author <a href="mailto:christian@kiehle.org">Christian Kiehle</a>
047 * @author <a href="mailto:christian.heier@gmx.de">Christian Heier</a>
048 * @author last edited by: $Author:wanhoff$
049 *
050 * @version $Revision: 18195 $, $Date:20.03.2007$
051 */
052 public class Status {
053
054 /**
055 * Indicates that this process has been accepted by the server, but is in a queue and has not
056 * yet started to execute. The contents of this human-readable text string is left open to
057 * definition by each server implementation, but is expected to include any messages the server
058 * may wish to let the clients know. Such information could include how long the queue is, or
059 * any warning conditions that may have been encountered. The client may display this text to a
060 * human user.
061 */
062
063 private String processAccepted;
064
065 /**
066 * Indicates that this process has been has been accepted by the server, and processing has
067 * begun.
068 */
069 private ProcessStarted processStarted;
070
071 /**
072 * Indicates that this process has successfully completed execution. The contents of this
073 * human-readable text string is left open to definition by each server, but is expected to
074 * include any messages the server may wish to let the clients know, such as how long the
075 * process took to execute, or any warning conditions that may have been encountered. The client
076 * may display this text string to a human user. The client should make use of the presence of
077 * this element to trigger automated or manual access to the results of the process. If manual
078 * access is intended, the client should use the presence of this element to present the results
079 * as downloadable links to the user.
080 */
081
082 private String processSucceeded;
083
084 /**
085 * Indicates that execution of this process has failed, and includes error information.
086 */
087 private ProcessFailed processFailed;
088
089 /**
090 * @return Returns the processAccepted.
091 */
092 public String getProcessAccepted() {
093 return processAccepted;
094 }
095
096 /**
097 * @param value
098 * The processAccepted to set.
099 */
100 public void setProcessAccepted( String value ) {
101 this.processAccepted = value;
102 }
103
104 /**
105 * @return Returns the processStarted.
106 */
107 public ProcessStarted getProcessStarted() {
108 return processStarted;
109 }
110
111 /**
112 * @param value
113 * The processStarted to set.
114 */
115 public void setProcessStarted( ProcessStarted value ) {
116 this.processStarted = value;
117 }
118
119 /**
120 * @return Returns the processSucceeded.
121 */
122 public String getProcessSucceeded() {
123 return processSucceeded;
124 }
125
126 /**
127 * @param value
128 * The processSucceeded to set.
129 */
130 public void setProcessSucceeded( String value ) {
131 this.processSucceeded = value;
132 }
133
134 /**
135 * @return Returns the processFailed.
136 */
137 public ProcessFailed getProcessFailed() {
138 return processFailed;
139 }
140
141 /**
142 * @param value
143 * The processFailed to set.
144 */
145 public void setProcessFailed( ProcessFailed value ) {
146 this.processFailed = value;
147 }
148
149 }