Make this an inner enum of PublisherContext so it stays close to the corresponding DSL methods. See WrapperContext.Timeout for an example. And add an auto-import to DslScriptLoader.createCompilerConfiguration so that the DSL user does not need to deal with imports.