org.jmythapi.protocol.response.impl
Class ProgramRecordingStatus
java.lang.Object
java.lang.Number
org.jmythapi.protocol.response.impl.AGroup<E>
org.jmythapi.protocol.response.impl.AEnumGroup<E>
org.jmythapi.protocol.response.impl.AVersionableEnumGroup<IProgramRecordingStatus.Status>
org.jmythapi.protocol.response.impl.ProgramRecordingStatus
- All Implemented Interfaces:
- Serializable, Cloneable, Formattable, IVersionable, IEnumGroup<IProgramRecordingStatus.Status>, IGroup<IProgramRecordingStatus.Status>, IProgramRecordingStatus
public class ProgramRecordingStatus
- extends AVersionableEnumGroup<IProgramRecordingStatus.Status>
- implements IProgramRecordingStatus
- See Also:
- Serialized Form
Methods inherited from class org.jmythapi.protocol.response.impl.AGroup |
clone, createObject, doubleValue, equals, floatValue, formatTo, getGroupClass, getVersionNr, hashCode, intValue, longValue |
ProgramRecordingStatus
public ProgramRecordingStatus(ProtocolVersion protoVersion,
long value)
getStatus
public IProgramRecordingStatus.Status getStatus()
- Specified by:
getStatus
in interface IProgramRecordingStatus
hasStatus
public boolean hasStatus(IProgramRecordingStatus.Status status)
- Specified by:
hasStatus
in interface IProgramRecordingStatus
hasStatus
public boolean hasStatus(IProgramRecordingStatus.Status... statuses)
- Description copied from interface:
IProgramRecordingStatus
- Checks if the recording is in one of the given statuses.
- Specified by:
hasStatus
in interface IProgramRecordingStatus
- Parameters:
statuses
- the status values to check
- Returns:
true
if the current status is in the list of given statuses.
getStatusValue
public int getStatusValue()
- Specified by:
getStatusValue
in interface IProgramRecordingStatus
toString
public static String toString(ProgramRecordingStatus status)
- Deprecated. this should not be needed anymore
valueOf
public static ProgramRecordingStatus valueOf(IMythPacket packet)
valueOf
public static ProgramRecordingStatus valueOf(ProtocolVersion protoVersion,
String valueStr)
valueOf
public static ProgramRecordingStatus valueOf(ProtocolVersion protoVersion,
IProgramRecordingStatus.Status status)
Copyright © 2008-2013. All Rights Reserved.