org.camunda.bpm.engine.impl.migration.validation.activity
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static SupportedPassiveEventTriggerActivityValidator INSTANCE
supportedTypes
public static final List<String> supportedTypes
SupportedPassiveEventTriggerActivityValidator
public SupportedPassiveEventTriggerActivityValidator()
valid
public boolean valid(ActivityImpl activity)
- Description copied from interface:
MigrationActivityValidator
- Check that an activity can be migrated.
- Specified by:
valid in interface MigrationActivityValidator
- Parameters:
activity - the activity to migrate
- Returns:
- true if the activity can be migrated, false otherwise
isPassivelyWaitingEvent
public boolean isPassivelyWaitingEvent(ActivityImpl activity)
isSupportedEventType
public boolean isSupportedEventType(ActivityImpl activity)
Copyright © 2017 camunda services GmbH. All rights reserved.