org.camunda.bpm.engine.impl.migration.validation.activity
Class HasNoEventSubProcessParentActivityValidator
java.lang.Object
org.camunda.bpm.engine.impl.migration.validation.activity.HasNoEventSubProcessParentActivityValidator
- All Implemented Interfaces:
- MigrationActivityValidator
public class HasNoEventSubProcessParentActivityValidator
- extends Object
- implements MigrationActivityValidator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static HasNoEventSubProcessParentActivityValidator INSTANCE
HasNoEventSubProcessParentActivityValidator
public HasNoEventSubProcessParentActivityValidator()
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
hasEventSubProcessParent
protected boolean hasEventSubProcessParent(ActivityImpl activity)
isEventSubProcess
protected boolean isEventSubProcess(ScopeImpl scope)
isProcessDefinition
protected boolean isProcessDefinition(ScopeImpl scope)
Copyright © 2016 camunda services GmbH. All rights reserved.