TaskTriggerInformation¶
-
public class
TaskTriggerInformation
extends TaskEventInformation¶ Represents information about a single task trigger. A task trigger is an event that triggers execution of a task. It is a part of the task model.
Constructors¶
TaskTriggerInformation¶
-
public
TaskTriggerInformation
(String displayName, String channelName, String moduleName, String moduleVersion, String subject, String triggerListener)¶ Constructor.
Parameters: - displayName – the trigger display name
- channelName – the trigger channel name
- moduleName – the trigger module name
- moduleVersion – the module version
- subject – the trigger subject
- triggerListener – the trigger listener
TaskTriggerInformation¶
-
public
TaskTriggerInformation
(TaskTriggerInformation other)¶ The copy constructor.
Parameters: - other – the other
TaskTrigger
to copy, not null
- other – the other
Methods¶
getEffectiveListenerRetrySubject¶
getEffectiveListenerSubject¶
-
public String
getEffectiveListenerSubject
()¶ Convenient method for determining effective listener subject. For tasks created prior release 0.25 the trigger listener subject will not be set in the db, therefore we have to use subject.
Returns: triggerListenerSubject
if present. Otherwise returnssubject
toDto¶
-
public TaskTriggerInformationDto
toDto
()¶