}
break
case "enum":
-<<<<<<< HEAD
-=======
- def randomVariable = Math.abs(new Random().nextInt() % 2)
- def modes = ["Yes", "No"]
- //def userInput = modes[randomVariable]
- //def modes = metaData['options']
->>>>>>> e378d6a65b25030f8914dc97f04b81ddff351d9c
if (metaData['options'] != null)
modes = metaData['options']
else // If it is not named 'options' then it is captured as 'metadata'