Class TimerJobCompletionWorkflowEvent
java.lang.Object
de.uplanet.lucy.server.workflow.event.TimerJobCompletionWorkflowEvent
- All Implemented Interfaces:
ITimerJobCompletionWorkflowEvent
,IWorkflowEvent
@Scriptable
public final class TimerJobCompletionWorkflowEvent
extends Object
implements ITimerJobCompletionWorkflowEvent
-
Constructor Summary
ConstructorDescriptionTimerJobCompletionWorkflowEvent
(String p_strTimerGuid) TimerJobCompletionWorkflowEvent
(String p_strTimerGuid, List<Throwable> p_exceptions) -
Method Summary
-
Constructor Details
-
TimerJobCompletionWorkflowEvent
- Parameters:
p_strTimerGuid
- The GUID of the timer action that created this event.
-
TimerJobCompletionWorkflowEvent
- Parameters:
p_strTimerGuid
- The GUID of the timer action that created this event.p_exceptions
- A list of exceptions that occurred while executing the timer job.
-
-
Method Details
-
getTimerGuid
Description copied from interface:ITimerJobCompletionWorkflowEvent
Get the GUID of the timer that created this event.- Specified by:
getTimerGuid
in interfaceITimerJobCompletionWorkflowEvent
- Returns:
- The timer GUID.
-
hasError
public boolean hasError()Description copied from interface:ITimerJobCompletionWorkflowEvent
Check if errors occurred during the timer job execution.- Specified by:
hasError
in interfaceITimerJobCompletionWorkflowEvent
- Returns:
true
if errors occurred during the timer job execution, orfalse
otherwise.
-
getErrors
Description copied from interface:ITimerJobCompletionWorkflowEvent
Get a list of exceptions that occurred during the timer job execution.- Specified by:
getErrors
in interfaceITimerJobCompletionWorkflowEvent
- Returns:
- A possibly empty list of exceptions.
-
toString
-