Using Radio Buttons in Bamboo Plugin Task

I am working on adding a simple Task in Bamboo. In this task, I would like to have a radio selection option over a drop-down selection and I have seen it used in other tasks, but I can’t find in the documentation, how it should be configured or an open sourced task using it as an example.

Can someone please give a simple example of how to setup the radio option in the Freemarker file in Bamboo for the task, and how to check for the option in the task java class.