org.mythtv.services.api.video.impl
Enum VideoTemplate.Endpoint
java.lang.Object
java.lang.Enum<VideoTemplate.Endpoint>
org.mythtv.services.api.video.impl.VideoTemplate.Endpoint
- All Implemented Interfaces:
- Serializable, Comparable<VideoTemplate.Endpoint>
- Enclosing class:
- VideoTemplate
public static enum VideoTemplate.Endpoint
- extends Enum<VideoTemplate.Endpoint>
ADD_VIDEO
public static final VideoTemplate.Endpoint ADD_VIDEO
GET_BLURAY
public static final VideoTemplate.Endpoint GET_BLURAY
GET_VIDEO
public static final VideoTemplate.Endpoint GET_VIDEO
GET_VIDEO_BY_FILENAME
public static final VideoTemplate.Endpoint GET_VIDEO_BY_FILENAME
GET_VIDEO_LIST
public static final VideoTemplate.Endpoint GET_VIDEO_LIST
LOOKUP_VIDEO
public static final VideoTemplate.Endpoint LOOKUP_VIDEO
REMOVE_VIDEO_FROM_DB
public static final VideoTemplate.Endpoint REMOVE_VIDEO_FROM_DB
values
public static VideoTemplate.Endpoint[] 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 (VideoTemplate.Endpoint c : VideoTemplate.Endpoint.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static VideoTemplate.Endpoint 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 name
NullPointerException - if the argument is null
getEndpoint
public String getEndpoint()
Copyright © 2012. All Rights Reserved.