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
Constructors Constructor Description TimerJobCompletionWorkflowEvent(String p_strTimerGuid)
TimerJobCompletionWorkflowEvent(String p_strTimerGuid, List<Throwable> p_exceptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Throwable>
getErrors()
Get a list of exceptions that occurred during the timer job execution.String
getTimerGuid()
Get the GUID of the timer that created this event.boolean
hasError()
Check if errors occurred during the timer job execution.String
toString()
-
-
-
Constructor Detail
-
TimerJobCompletionWorkflowEvent
public TimerJobCompletionWorkflowEvent(String p_strTimerGuid)
- Parameters:
p_strTimerGuid
- The GUID of the timer action that created this event.
-
-
Method Detail
-
getTimerGuid
public String 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
public List<Throwable> 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.
-
-