org.jmythapi.protocol.response
Enum IProgramRecordingDupMethodType.Flags

java.lang.Object
  extended by java.lang.Enum<IProgramRecordingDupMethodType.Flags>
      extended by org.jmythapi.protocol.response.IProgramRecordingDupMethodType.Flags
All Implemented Interfaces:
Serializable, Comparable<IProgramRecordingDupMethodType.Flags>, IFlag
Enclosing interface:
IProgramRecordingDupMethodType

public static enum IProgramRecordingDupMethodType.Flags
extends Enum<IProgramRecordingDupMethodType.Flags>
implements IFlag

The flags of the IProgramInfo.Props.DUP_METHOD property.

MythTV Protocol Version Matrix
 Protocol
NameTypeRange0304080912131433-1
DUP_CHECK_UNKNOWNIFlag[03,-1)XXXXXXXXX
DUP_CHECK_NONEIFlag[03,-1)XXXXXXXXX
DUP_CHECK_SUBIFlag[03,-1)XXXXXXXXX
DUP_CHECK_DESCIFlag[03,-1)XXXXXXXXX
DUP_CHECK_SUB_DESCIFlag[03,-1)XXXXXXXXX
DUP_ALLOW_EMPTYIFlag[03,04)X--------
DUP_EMPTY_SUB_DESCIFlag[03,04)X--------
DUP_CHECK_ID_ONLYIFlag[09,09)---------
DUP_CHECK_NEW_EPIIFlag[12,14)----XX---
DUP_CHECK_SUB_THEN_DESCIFlag[33,-1)-------XX

Since:
03
See Also:
libmythtv/recordingtypes.h, libmythtv/scheduledrecording.h

Enum Constant Summary
DUP_ALLOW_EMPTY
          Deprecated. 04
DUP_CHECK_DESC
          Description.
DUP_CHECK_ID_ONLY
          Deprecated. 09
DUP_CHECK_NEW_EPI
          Deprecated. 14
DUP_CHECK_NONE
          No duplicates check.
DUP_CHECK_SUB
          Subtitle.
DUP_CHECK_SUB_DESC
          Subtitle and description.
DUP_CHECK_SUB_THEN_DESC
          Subtitle then description.
DUP_CHECK_UNKNOWN
           
DUP_EMPTY_SUB_DESC
          Deprecated. 04
 
Method Summary
 Long getFlagValue()
          Gets the value associated with the flag.
static IProgramRecordingDupMethodType.Flags valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IProgramRecordingDupMethodType.Flags[] 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
 
Methods inherited from interface org.jmythapi.protocol.response.IFlag
name
 

Enum Constant Detail

DUP_CHECK_UNKNOWN

public static final IProgramRecordingDupMethodType.Flags DUP_CHECK_UNKNOWN

DUP_CHECK_NONE

public static final IProgramRecordingDupMethodType.Flags DUP_CHECK_NONE
No duplicates check.

Don't match duplicates.


DUP_CHECK_SUB

public static final IProgramRecordingDupMethodType.Flags DUP_CHECK_SUB
Subtitle.

Match duplicates using subtitle.


DUP_CHECK_DESC

public static final IProgramRecordingDupMethodType.Flags DUP_CHECK_DESC
Description.

Match duplicates using description.


DUP_CHECK_SUB_DESC

public static final IProgramRecordingDupMethodType.Flags DUP_CHECK_SUB_DESC
Subtitle and description.

Match duplicates using subtitle & description


DUP_ALLOW_EMPTY

public static final IProgramRecordingDupMethodType.Flags DUP_ALLOW_EMPTY
Deprecated. 04
Matches duplicates even if empty.


DUP_EMPTY_SUB_DESC

public static final IProgramRecordingDupMethodType.Flags DUP_EMPTY_SUB_DESC
Deprecated. 04

DUP_CHECK_ID_ONLY

public static final IProgramRecordingDupMethodType.Flags DUP_CHECK_ID_ONLY
Deprecated. 09
Program ID.

Using the programid to check for duplicated programs.

Since:
09

DUP_CHECK_NEW_EPI

public static final IProgramRecordingDupMethodType.Flags DUP_CHECK_NEW_EPI
Deprecated. 14
New episodes only.

Since:
12

DUP_CHECK_SUB_THEN_DESC

public static final IProgramRecordingDupMethodType.Flags DUP_CHECK_SUB_THEN_DESC
Subtitle then description.

Match duplicates using subtitle then description.

This uses the subtitle for the dup match if there is a subtitle. If the subtitle is empty then the description is used to do dup matching.

Since:
33
Method Detail

values

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

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

valueOf

public static IProgramRecordingDupMethodType.Flags 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

getFlagValue

public Long getFlagValue()
Description copied from interface: IFlag
Gets the value associated with the flag.

Specified by:
getFlagValue in interface IFlag
Returns:
the flag value


Copyright © 2008-2013. All Rights Reserved.