Enum RouterMode
- java.lang.Object
-
- java.lang.Enum<RouterMode>
-
- com.axellience.vueroutergwt.client.RouterMode
-
- All Implemented Interfaces:
Serializable,Comparable<RouterMode>
public enum RouterMode extends Enum<RouterMode>
- Author:
- Adrien Baron
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RouterModefromValue(String value)StringgetValue()static RouterModevalueOf(String name)Returns the enum constant of this type with the specified name.static RouterMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HASH
public static final RouterMode HASH
-
HISTORY
public static final RouterMode HISTORY
-
ABSTRACT
public static final RouterMode ABSTRACT
-
-
Method Detail
-
values
public static RouterMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RouterMode c : RouterMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RouterMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
fromValue
public static RouterMode fromValue(String value)
-
-