Search in sources :

Example 1 with CleanupPlugin

use of jack.rm.plugins.types.CleanupPlugin in project rom-manager by Jakz.

the class Organizer method cleanup.

public void cleanup() {
    MyGameSetFeatures helper = set.helper();
    Settings settings = helper.settings();
    Set<CleanupPlugin> plugins = settings.plugins.getEnabledPlugins(PluginRealType.ROMSET_CLEANUP);
    plugins.stream().forEach(p -> p.execute(set));
}
Also used : CleanupPlugin(jack.rm.plugins.types.CleanupPlugin) MyGameSetFeatures(jack.rm.data.romset.MyGameSetFeatures) Settings(jack.rm.data.romset.Settings)

Aggregations

MyGameSetFeatures (jack.rm.data.romset.MyGameSetFeatures)1 Settings (jack.rm.data.romset.Settings)1 CleanupPlugin (jack.rm.plugins.types.CleanupPlugin)1