switch ( type ) {
case WorkingMemoryAction.WorkingMemoryReteAssertAction : {
return new WorkingMemoryReteAssertAction( context );
}
case WorkingMemoryAction.DeactivateCallback : {
return new DeactivateCallback( context );
}
case WorkingMemoryAction.PropagateAction : {
return new PropagateAction( context );
}
case WorkingMemoryAction.LogicalRetractCallback : {