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
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisPassivelyWaitingEvent(ActivityImpl activity) booleanisSupportedEventType(ActivityImpl activity) booleanvalid(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:MigrationActivityValidatorCheck that an activity can be migrated.- Specified by:
validin interfaceMigrationActivityValidator- Parameters:
activity- the activity to migrate- Returns:
- true if the activity can be migrated, false otherwise
-
isPassivelyWaitingEvent
-
isSupportedEventType
-