|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InternalModuleServiceCall
Information for a service call. Occurs during execution of a
org.qedeq.kernel.se.common.ServiceJob
.
Method Summary | |
---|---|
void |
finish(ModuleServiceResult result)
Set result state for call and stop. |
void |
finishError(java.lang.String errorMessage)
Set generic failure result for call and stop. |
void |
finishOk()
Set generic success result for call and stop. |
Parameters |
getConfigParameters()
Get global config parameters for service call. |
InternalServiceJob |
getInternalServiceProcess()
Return service process the call was initiated. |
Parameters |
getParameters()
Get call specific parameters for service call. |
void |
halt(ModuleServiceResult result)
Set result state for call and stop. |
void |
halt(java.lang.String errorMessage)
Set generic failure result for call and stop. |
void |
interrupt()
Set failure state for call and stop. |
void |
pause()
Signal an execution pause. |
void |
resume()
Signal execution resume. |
void |
setAction(java.lang.String action)
Set description of currently taken action. |
void |
setExecutionPercentage(double percentage)
Set percentage of currently running plugin execution. |
void |
setServiceCompleteness(ServiceCompleteness completeness)
Set someone who answers completeness questions. |
Methods inherited from interface org.qedeq.kernel.bo.common.ModuleServiceCall |
---|
getAction, getBeginTime, getConfigParametersString, getDuration, getEndTime, getExecutionPercentage, getId, getLocation, getParametersString, getParentServiceCall, getQedeq, getService, getServiceProcess, getServiceResult, isPaused, isRunning |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
Parameters getConfigParameters()
Parameters getParameters()
void setExecutionPercentage(double percentage)
percentage
- Number between 0 and 100.void setServiceCompleteness(ServiceCompleteness completeness)
completeness
- An answer for completeness questions. Might be null
.void setAction(java.lang.String action)
action
- We are doing this currently.InternalServiceJob getInternalServiceProcess()
void pause()
void resume()
void finishOk()
void finishError(java.lang.String errorMessage)
errorMessage
- Reason for finishing with error.void finish(ModuleServiceResult result)
result
- Service result.void halt(ModuleServiceResult result)
result
- Must include reason for halting.void halt(java.lang.String errorMessage)
errorMessage
- Reason for halting.void interrupt()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |