|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
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 |
---|
void setPercentCompleted(int percentCompleted)
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.
percentCompleted
- the percentage value to be set, a number between 0 and 99void setStartedMessage(String message)
Processlet
to provide a start message for the client.
message
- void setSucceededMessage(String message)
Processlet
to provide a finish message for the client.
message
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |