Back to project page cirrus.
The source code is released under:
Apache License
If you think the Android project cirrus listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.inktomi.cirrus.forecast; //from ww w . j av a2 s. co m import org.simpleframework.xml.Element; @Element public enum OperationalMode { OFFICIAL("official"), DEVELOPMENTAL("developmental"), EXPERIMENTAL("experimental"), TEST("test"); private final String value; OperationalMode(String v) { value = v; } public String value() { return value; } public static OperationalMode fromValue(String v) { for (OperationalMode c: OperationalMode.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }