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