Package net.xeoh.plugins.diagnosis.local.util.conditions.matcher

Examples of net.xeoh.plugins.diagnosis.local.util.conditions.matcher.Matcher


        this.currentStatus.put(status.getChannel(), status.getValue());
       
        // Next match status agains on status
        Set<Class<? extends DiagnosisChannelID<?>>> keySet = this.onRequirements.keySet();
        for (Class<? extends DiagnosisChannelID<?>> c : keySet) {
            final Matcher requirement = this.onRequirements.get(c);
            final Object is = this.currentStatus.get(c);
           
            if(!requirement.matches(is)) {
                announceState(STATE.OFF);
                return;
            }
        }
       
View Full Code Here

TOP

Related Classes of net.xeoh.plugins.diagnosis.local.util.conditions.matcher.Matcher

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.