org.qedeq.kernel.bo.module
Interface InternalServiceJob

All Superinterfaces:
java.lang.Comparable, ServiceJob
All Known Implementing Classes:
InternalServiceJobImpl

public interface InternalServiceJob
extends ServiceJob

Process info for a kernel service.

Author:
Michael Meyling

Method Summary
 InternalModuleServiceCall getInternalServiceCall()
          Get currently running service call.
 void setBlocked(boolean blocked)
          Set blocked state.
 void setFailureState()
          Mark that thread execution lead to an exception.
 void setInternalServiceCall(InternalModuleServiceCall call)
          Service call.
 void setInterruptedState()
          Mark that thread execution was canceled by the user.
 void setSuccessState()
          Mark that thread execution has normally ended.
 
Methods inherited from interface org.qedeq.kernel.bo.common.ServiceJob
getActionName, getBlockedModules, getCurrentlyProcessedModules, getExecutionActionDescription, getExecutionPercentage, getId, getModuleServiceCall, getQedeqName, getQedeqUrl, getStart, getStop, getThread, interrupt, isBlocked, isRunning, wasFailure, wasInterrupted, wasSuccess
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

setSuccessState

void setSuccessState()
Mark that thread execution has normally ended.


setBlocked

void setBlocked(boolean blocked)
Set blocked state.

Parameters:
blocked - Blocked state.

setInterruptedState

void setInterruptedState()
Mark that thread execution was canceled by the user.


setFailureState

void setFailureState()
Mark that thread execution lead to an exception.


setInternalServiceCall

void setInternalServiceCall(InternalModuleServiceCall call)
Service call.

Parameters:
call - Execute this service call.

getInternalServiceCall

InternalModuleServiceCall getInternalServiceCall()
Get currently running service call.

Returns:
Service call.


Copyright © 2014. All Rights Reserved.