Package com.cibuddy.core.build.configuration

Examples of com.cibuddy.core.build.configuration.IIndicatorBehaviorConfiguration


            int index = 0;
            if(xfd.getIndicatorId() != null){
                // we have to set the index (not using the default of 0)
                index = Integer.parseInt(xfd.getIndicatorId());
            }
            IIndicatorBehaviorConfiguration psec = getConfiguration(xfd.getConfig());
            LOG.debug("index for configured indicator identified as {} for configuration {}", index, this);
            IBuildStatusIndicator ibsi = getBuildStatusIndicatorByServiceIndex(index);
            // FIXME: incorporate a better configuration of indicators
//            IProjectIndicator ipi = getProjectIndicator(xfd.getIndicatorId());
            if(psec != null){
                if(ibsi != null){
                    StatusAction sa = psec.evaluate(this);
                    if(sa != null) {
                        ibsi.indicate(sa);
                    }
                } else {
                    LOG.info("no indicator found - I can't indicate anything without that one ");
View Full Code Here


    }

    @Override
    void handle(Config config, URL url, Bundle bundle) {
        try {
            IIndicatorBehaviorConfiguration iibc = new IndicatorBehaviorConfiguration(config);
            List<ServiceRegistration> configServices = new ArrayList<ServiceRegistration>();
            // register the configuration
            if(bundle == null) {
                // manage the services exposed through none bundle related resources (no lifecycle)
                ServiceRegistration  sr = registerConfigurationAsService(iibc, url, IIndicatorBehaviorConfiguration.class);
View Full Code Here

TOP

Related Classes of com.cibuddy.core.build.configuration.IIndicatorBehaviorConfiguration

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.