It is a form of consequentialism.
See on üks konsekventsialismi vorme.