org.mythtv.services.api.video.impl
Enum VideoTemplate.Endpoint

java.lang.Object
  extended by java.lang.Enum<VideoTemplate.Endpoint>
      extended by 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>


Enum Constant Summary
ADD_VIDEO
           
GET_BLURAY
           
GET_VIDEO
           
GET_VIDEO_BY_FILENAME
           
GET_VIDEO_LIST
           
LOOKUP_VIDEO
           
REMOVE_VIDEO_FROM_DB
           
 
Method Summary
 String getEndpoint()
           
static VideoTemplate.Endpoint valueOf(String name)
          Returns the enum constant of this type with the specified name.
static VideoTemplate.Endpoint[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.