Enum BrowserResource.ResourceType
- java.lang.Object
-
- java.lang.Enum<BrowserResource.ResourceType>
-
- com.inductiveautomation.perspective.common.api.BrowserResource.ResourceType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BrowserResource.ResourceType>
- Enclosing class:
- BrowserResource
public static enum BrowserResource.ResourceType extends java.lang.Enum<BrowserResource.ResourceType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BrowserResource.ResourceType
fromString(java.lang.String s)
static java.lang.String
toString(BrowserResource.ResourceType type)
static BrowserResource.ResourceType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BrowserResource.ResourceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JS
@SerializedName("js") public static final BrowserResource.ResourceType JS
-
CSS
@SerializedName("css") public static final BrowserResource.ResourceType CSS
-
FONT
@SerializedName("font") public static final BrowserResource.ResourceType FONT
-
UNKNOWN
public static final BrowserResource.ResourceType UNKNOWN
-
-
Method Detail
-
values
public static BrowserResource.ResourceType[] 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 (BrowserResource.ResourceType c : BrowserResource.ResourceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BrowserResource.ResourceType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
fromString
public static BrowserResource.ResourceType fromString(java.lang.String s)
-
toString
public static java.lang.String toString(BrowserResource.ResourceType type)
-
-