changed the class with new constants
Revert "changed the class with new constants"

This reverts commit c502d0ec462828025cb1705c3cc93d37ab432dee.
Merge branch 'master' of ssh://opennms.git.sourceforge.net/gitroot/opennms/opennms
fix broken test and NPE
Fixed NPE when auto-actions are missing a state attribute. Fixes bug
NMS-5708.