Class SupportedPassiveEventTriggerActivityValidator
java.lang.Object
org.camunda.bpm.engine.impl.migration.validation.activity.SupportedPassiveEventTriggerActivityValidator
- All Implemented Interfaces:
MigrationActivityValidator
public class SupportedPassiveEventTriggerActivityValidator
extends Object
implements MigrationActivityValidator
Validator for events that passively wait for an event, i.e. without being activated by sequence flow (e.g. boundary events
and event subprocess start events but not intermediate catch events).
- Author:
- Thorben Lindhauer
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isPassivelyWaitingEvent
(ActivityImpl activity) boolean
isSupportedEventType
(ActivityImpl activity) boolean
valid
(ActivityImpl activity) Check that an activity can be migrated.
-
Field Details
-
INSTANCE
-
supportedTypes
-
-
Constructor Details
-
SupportedPassiveEventTriggerActivityValidator
public SupportedPassiveEventTriggerActivityValidator()
-
-
Method Details
-
valid
Description copied from interface:MigrationActivityValidator
Check that an activity can be migrated.- Specified by:
valid
in interfaceMigrationActivityValidator
- Parameters:
activity
- the activity to migrate- Returns:
- true if the activity can be migrated, false otherwise
-
isPassivelyWaitingEvent
-
isSupportedEventType
-