Class SupportedActivityValidator
java.lang.Object
org.camunda.bpm.engine.impl.migration.validation.activity.SupportedActivityValidator
- All Implemented Interfaces:
MigrationActivityValidator
*Supported* refers to whether an activity instance of a certain activity type can be migrated.
This validator is irrelevant for transition instances which can be migrated at any activity type.
Thus, this validator is only used during migration instruction generation and migrating activity instance validation,
not during migration instruction validation.
-
Field Summary
Modifier and TypeFieldDescriptionstatic SupportedActivityValidator
static List<Class<? extends ActivityBehavior>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isAsync
(ActivityImpl activity) boolean
isSupportedActivity
(ActivityImpl activity) boolean
valid
(ActivityImpl activity) Check that an activity can be migrated.
-
Field Details
-
INSTANCE
-
SUPPORTED_ACTIVITY_BEHAVIORS
-
-
Constructor Details
-
SupportedActivityValidator
public SupportedActivityValidator()
-
-
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
-
isSupportedActivity
-
isAsync
-