Generalized ADE classification of topological boundaries and anyon condensation