Package hudson.model

Examples of hudson.model.BallColor


     * TODO: this makes me wonder if we should support other colored states,
     * like unstable and aborted --- seems useful.
     */
    @Exported
    public BallColor getIconColor() {
        BallColor c = getError()!=null ? BallColor.RED : BallColor.BLUE;
        // TODO this should probably also be _anime in case this is a step node with a body and the body is still running (try FlowGraphTable for example)
        if (isRunning())        c = c.anime();
        return c;
    }
View Full Code Here

TOP

Related Classes of hudson.model.BallColor

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.