Heavy-flavour production in Pb-Pb collisions at $\sqrt{s_{NN}}$ = 2.76 TeV with the ALICE detector