Changed enum name from COMMAND_TYPE to CommandType

To adhere to Java coding standards
To prevent misunderstanding that the enum COMMAND_TYPE is a final
variable