Package com.foreach.across.core.annotations

Examples of com.foreach.across.core.annotations.InstallerGroup


  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();
View Full Code Here

TOP

Related Classes of com.foreach.across.core.annotations.InstallerGroup

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.