org.deegree.services.wps
Interface ProcessletExecutionInfo

All Known Implementing Classes:
ProcessExecution

public interface ProcessletExecutionInfo

Allows the Processlet to provide execution information, i.e. percentage completed and start/success messages that it wants to make known to clients.

Version:
$Revision: $, $Date: $
Author:
Markus Schneider, last edited by: $Author: schneider $

Method Summary
 void setPercentCompleted(int percentCompleted)
          Allows the Processlet to indicate the percentage of the process that has been completed, where 0 means the process has just started, and 99 means the process is almost complete.
 void setStartedMessage(String message)
          Allows the Processlet to provide a start message for the client.
 void setSucceededMessage(String message)
          Allows the Processlet to provide a finish message for the client.
 

Method Detail

setPercentCompleted

void setPercentCompleted(int percentCompleted)
Allows the Processlet to indicate the percentage of the process that has been completed, where 0 means the process has just started, and 99 means the process is almost complete. This value is expected to be accurate to within ten percent.

Parameters:
percentCompleted - the percentage value to be set, a number between 0 and 99

setStartedMessage

void setStartedMessage(String message)
Allows the Processlet to provide a start message for the client.

Parameters:
message -

setSucceededMessage

void setSucceededMessage(String message)
Allows the Processlet to provide a finish message for the client.

Parameters:
message -


Copyright © 2011. All Rights Reserved.