org.jmythapi
Enum IRecorderInfo.Props

java.lang.Object
  extended by java.lang.Enum<IRecorderInfo.Props>
      extended by org.jmythapi.IRecorderInfo.Props
All Implemented Interfaces:
Serializable, Comparable<IRecorderInfo.Props>
Enclosing interface:
IRecorderInfo

public static enum IRecorderInfo.Props
extends Enum<IRecorderInfo.Props>

Properties of an IRecorderInfo response.

MythTV Protocol Version Matrix
 Protocol
NameTypeRange00-1
RECORDER_IDInteger[00,-1)XX
HOSTNAMEString[00,-1)XX
HOSTPORTInteger[00,-1)XX


Enum Constant Summary
HOSTNAME
          [02] String
HOSTPORT
          [03] Integer
RECORDER_ID
          [01] Integer
 
Method Summary
static IRecorderInfo.Props valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IRecorderInfo.Props[] 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

RECORDER_ID

public static final IRecorderInfo.Props RECORDER_ID
[01] Integer

See Also:
IRecorderInfo.getRecorderID()

HOSTNAME

public static final IRecorderInfo.Props HOSTNAME
[02] String

See Also:
IRecorderInfo.getHostName()

HOSTPORT

public static final IRecorderInfo.Props HOSTPORT
[03] Integer

See Also:
IRecorderInfo.getHostPort()
Method Detail

values

public static IRecorderInfo.Props[] 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 (IRecorderInfo.Props c : IRecorderInfo.Props.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static IRecorderInfo.Props 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


Copyright © 2008-2013. All Rights Reserved.