Class NoDatabase

All Implemented Interfaces:
ExtensionPoint, Describable<Database>

public class NoDatabase extends Database
Pseudo instance in case the configuration of Database needs a "(none)" option. You can define your config.groovy as follows to have "(none)" appear as the default. Also, see GlobalDatabaseConfiguration.setDatabase(Database) for the necessary fix up on the setter (or in the constructor.)
     f.dropdownDescriptorSelector(field:"database",title:_("Database"),descriptors:NoDatabase.allPlusNone())
 
Author:
Kohsuke Kawaguchi