Empty words.
Hamas is not a legitimate government. Gaza/Palestine is not a recognized state. They cannot be held accountable by international organizations like the UN, ICC or ICJ. As such Israel has no option other than to take the matter into their own hands and deal with the consequences after.
And do you think that Israel is so stupid as to not document the reasons for and tactics (preventive or not) used to justify every rocket launched, bullet fired or raid conducted? They will be more than ready for any hearings or trials.