LocalizedOptionDefinition moduleFromPlugin = new LocalizedOptionDefinition(ScriptTask.OPTION_MODULEFROMPLUGIN, BooleanOptionType.INSTANCE, _bundleLoader);
moduleFromPlugin.setDefaultValue("false");
options.addOption(moduleFromPlugin);
LocalizedOptionDefinition database = new LocalizedOptionDefinition(ScriptTask.OPTION_DATABASE, new RuntimeDatabasesOptionType(_registry, RuntimeDatabasesOptionType.SELECTION_CONTENT_STORES), _bundleLoader);
database.addDependentOption(ScriptTask.OPTION_MODULEFROMPLUGIN, Boolean.FALSE.toString());
options.addOption(database);
LocalizedOptionDefinition plugindb = new LocalizedOptionDefinition(ScriptTask.OPTION_PLUGINDB, new RuntimeDatabasesOptionType(_registry, RuntimeDatabasesOptionType.SELECTION_PLUGIN_DATABASES), _bundleLoader);
plugindb.addDependentOption(ScriptTask.OPTION_MODULEFROMPLUGIN, Boolean.TRUE.toString());
options.addOption(plugindb);
LocalizedOptionDefinition module = new LocalizedOptionDefinition(ScriptTask.OPTION_MODULE, StringOptionType.INSTANCE, _bundleLoader);
options.addOption(module);