I see that `DumbSlave.java` has a `@DataBoundConstructor` that takes in a `Mode` enum.

I'll have a go at updating to use an enum