All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad is His slave and Messenger.
All these words uttered by the husband are not clear words of divorce, but they are metaphors of divorce and they do not lead to divorce unless the husband had intended it. Therefore, this depends on the intention of the husband by saying those words; if he had intended to divorce his wife after those conditions happen, then divorce is effective. However, if he did not intend divorce but only intended to threaten his wife, then it would not be considered a divorce.
Allah knows best.