| /******************************************************************************* |
| * Copyright (c) 2010, 2016 Tasktop Technologies and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Tasktop Technologies - initial API and implementation |
| *******************************************************************************/ |
| |
| // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation |
| // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
| // Any modifications to this file will be lost upon recompilation of the source schema. |
| |
| package org.eclipse.mylyn.internal.hudson.model; |
| |
| import javax.xml.bind.annotation.XmlEnum; |
| import javax.xml.bind.annotation.XmlEnumValue; |
| import javax.xml.bind.annotation.XmlType; |
| |
| |
| /** |
| * <p>Java class for hudson.model.BallColor. |
| * |
| * <p>The following schema fragment specifies the expected content contained within this class. |
| * <p> |
| * <pre> |
| * <simpleType name="hudson.model.BallColor"> |
| * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> |
| * <enumeration value="red"/> |
| * <enumeration value="red_anime"/> |
| * <enumeration value="yellow"/> |
| * <enumeration value="yellow_anime"/> |
| * <enumeration value="blue"/> |
| * <enumeration value="blue_anime"/> |
| * <enumeration value="grey"/> |
| * <enumeration value="grey_anime"/> |
| * <enumeration value="disabled"/> |
| * <enumeration value="disabled_anime"/> |
| * <enumeration value="aborted"/> |
| * <enumeration value="aborted_anime"/> |
| * <enumeration value="notbuilt"/> |
| * <enumeration value="notbuilt_anime"/> |
| * </restriction> |
| * </simpleType> |
| * </pre> |
| * |
| */ |
| @XmlType(name = "hudson.model.BallColor") |
| @XmlEnum |
| @SuppressWarnings("all") |
| public enum HudsonModelBallColor { |
| |
| @XmlEnumValue("red") |
| RED("red"), |
| @XmlEnumValue("red_anime") |
| RED_ANIME("red_anime"), |
| @XmlEnumValue("yellow") |
| YELLOW("yellow"), |
| @XmlEnumValue("yellow_anime") |
| YELLOW_ANIME("yellow_anime"), |
| @XmlEnumValue("blue") |
| BLUE("blue"), |
| @XmlEnumValue("blue_anime") |
| BLUE_ANIME("blue_anime"), |
| @XmlEnumValue("grey") |
| GREY("grey"), |
| @XmlEnumValue("grey_anime") |
| GREY_ANIME("grey_anime"), |
| @XmlEnumValue("disabled") |
| DISABLED("disabled"), |
| @XmlEnumValue("disabled_anime") |
| DISABLED_ANIME("disabled_anime"), |
| @XmlEnumValue("aborted") |
| ABORTED("aborted"), |
| @XmlEnumValue("aborted_anime") |
| ABORTED_ANIME("aborted_anime"), |
| @XmlEnumValue("green") |
| GREEN("green"), |
| @XmlEnumValue("green_anime") |
| GREEN_ANIME("green_anime"), |
| @XmlEnumValue("notbuilt") |
| NOTBUILT("notbuilt"), |
| @XmlEnumValue("notbuilt_anime") |
| NOTBUILT_ANIME("notbuilt_anime"); |
| private final String value; |
| |
| HudsonModelBallColor(String v) { |
| value = v; |
| } |
| |
| public String value() { |
| return value; |
| } |
| |
| public static HudsonModelBallColor fromValue(String v) { |
| for (HudsonModelBallColor c: HudsonModelBallColor.values()) { |
| if (c.value.equals(v)) { |
| return c; |
| } |
| } |
| throw new IllegalArgumentException(v); |
| } |
| |
| } |