예제 #1
0
        public virtual MigratingTransitionInstance addTransitionInstance(MigrationInstruction migrationInstruction, TransitionInstance transitionInstance, ScopeImpl sourceScope, ScopeImpl targetScope, ExecutionEntity asyncExecution)
        {
            MigratingTransitionInstance migratingTransitionInstance = new MigratingTransitionInstance(transitionInstance, migrationInstruction, sourceScope, targetScope, asyncExecution);

            migratingTransitionInstances.Add(migratingTransitionInstance);

            return(migratingTransitionInstance);
        }
예제 #2
0
        public virtual void attachState(MigratingTransitionInstance targetTransitionInstance)
        {
            attachTo(targetTransitionInstance.resolveRepresentativeExecution());

            foreach (MigratingInstance dependentInstance in migratingDependentInstances)
            {
                dependentInstance.attachState(targetTransitionInstance);
            }
        }
예제 #3
0
 public virtual void attachState(MigratingTransitionInstance targetTransitionInstance)
 {
     throw MIGRATION_LOGGER.cannotAttachToTransitionInstance(this);
 }
예제 #4
0
 public virtual void attachState(MigratingTransitionInstance targetTransitionInstance)
 {
     attachTo(targetTransitionInstance.resolveRepresentativeExecution());
 }
예제 #5
0
        public virtual void attachState(MigratingTransitionInstance owningActivityInstance)
        {
            ExecutionEntity representativeExecution = owningActivityInstance.resolveRepresentativeExecution();

            representativeExecution.addVariableInternal(variable);
        }
예제 #6
0
 public virtual void removeChild(MigratingTransitionInstance transitionInstance)
 {
     this.childTransitionInstances.remove(transitionInstance);
 }
예제 #7
0
 public virtual void addChild(MigratingTransitionInstance transitionInstance)
 {
     this.childTransitionInstances.Add(transitionInstance);
 }
예제 #8
0
 public abstract void attachState(MigratingTransitionInstance targetTransitionInstance);