Examples of ColorIndicator


Examples of com.cibuddy.project.configuration.jaxb.v1_0.indicator.ColorIndicator

                    return StatusAction.OFF;
                }
            }
            Iterator<ColorIndicator> ciIterator = indicatorXMLConfig.getAction().iterator();
            while (ciIterator.hasNext()) {
                ColorIndicator ci = ciIterator.next();
                String condition = ci.getCondition();
                if (condition.equalsIgnoreCase("default")) {
                    String indicate = ci.getIndicate();
                    return StatusAction.get(indicate);
                } else {
                    // obtains the list of BuildStatus objects from their string representations
                    // that are used to match a certain "action" to indicate
                    List<BuildStatus> expStati = getBuildStatusListFromStrings(ci.getStatus());
                    if (checkCondition(ci.getCondition(), expStati, result)) {
                        String indicate = ci.getIndicate();
                        return StatusAction.get(indicate);
                    }
                }
            }
        } catch (Exception ex) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.