private InstallerAction determineInstallerAction( Object installer, ModuleBootstrapConfig moduleConfig ) {
InstallerSettings contextSettings = contextConfig.getInstallerSettings();
// Search InstallerGroup annotation up the hierarchy, as it can be inherited
Class<?> installerClass = installer.getClass();
InstallerGroup groupAnnotation = AnnotationUtils.findAnnotation( installerClass, InstallerGroup.class );
String group = groupAnnotation != null ? groupAnnotation.value() : null;
InstallerAction action = contextSettings.shouldRun( group, installer );
if ( action != InstallerAction.DISABLED ) {
InstallerSettings moduleSettings = moduleConfig.getInstallerSettings();