org.camunda.bpm.engine.impl.migration.validation.activity
Class HasNoEventSubProcessParentActivityValidator

java.lang.Object
  extended by org.camunda.bpm.engine.impl.migration.validation.activity.HasNoEventSubProcessParentActivityValidator
All Implemented Interfaces:
MigrationActivityValidator

public class HasNoEventSubProcessParentActivityValidator
extends Object
implements MigrationActivityValidator


Field Summary
static HasNoEventSubProcessParentActivityValidator INSTANCE
           
 
Constructor Summary
HasNoEventSubProcessParentActivityValidator()
           
 
Method Summary
protected  boolean hasEventSubProcessParent(ActivityImpl activity)
           
protected  boolean isEventSubProcess(ScopeImpl scope)
           
protected  boolean isProcessDefinition(ScopeImpl scope)
           
 boolean valid(ActivityImpl activity)
          Check that an activity can be migrated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static HasNoEventSubProcessParentActivityValidator INSTANCE
Constructor Detail

HasNoEventSubProcessParentActivityValidator

public HasNoEventSubProcessParentActivityValidator()
Method Detail

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.