|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jmythapi.protocol.ProtocolVersionInfo
public class ProtocolVersionInfo
This class defines constants used to further describe a protocol version.
The constants of this class are used to append additional metadata to a ProtocolVersion constant.
The assigned metadata can be queried as runtime using ProtocolVersion.getMetaData().
Additionally it can be used to add metadata to an MythProtoVersionAnnotation via the MythProtoVersionMetadata annotation. The assigned metadata can be queried
using MythProtoVersionAnnotation.fromInfo() and MythProtoVersionAnnotation.toInfo() .
PROTO_VERSION_01(1,null,new String[][]{ {DATE,"2004-01-29"}, {SVN_COMMIT,"3021"}, {GIT_COMMIT,"e6ffdd37481937e09ec7"} })
public static enum Status implements IVersionableValue { ... // Recorder Failed. @MythProtoVersionAnnotation(from=PROTO_VERSION_31,fromInfo={ @MythProtoVersionMetadata(key=SVN_COMMIT,value="11211"), @MythProtoVersionMetadata(key=GIT_COMMIT,value="ff50f067a1b403779ac4") }) FAILED(-9) ... }
protocol-version,
protocol-version annotation,
protocol-version metadata| Field Summary | |
|---|---|
static String |
DATE
The date when the protocol version was introduced. |
static String |
GIT_COMMIT
The Git commit ID. |
static String |
MYTH_RELEASE
The MythTV release version. |
static String |
MYTHBUNTU_RELEASE
The MythBuntu release version. |
static String |
SVN_COMMIT
The SVN revision number of the commit. |
| Constructor Summary | |
|---|---|
ProtocolVersionInfo()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DATE
public static final String GIT_COMMIT
public static final String SVN_COMMIT
public static final String MYTH_RELEASE
public static final String MYTHBUNTU_RELEASE
| Constructor Detail |
|---|
public ProtocolVersionInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||