|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectanon.infoservice.AbstractDatabaseEntry
anon.infoservice.AbstractDistributableDatabaseEntry
anon.infoservice.JAPMinVersion
public class JAPMinVersion
Holds the information about the currently minimum required JAP version to access the mixcascades.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class anon.infoservice.AbstractDistributableDatabaseEntry |
|---|
AbstractDistributableDatabaseEntry.SerialDBEntry, AbstractDistributableDatabaseEntry.Serials |
| Field Summary | |
|---|---|
private static long |
DATABASE_TIMEOUT
The timeout for minimum JAP version information in the database. |
static java.lang.String |
DEFAULT_ID
|
private byte[] |
m_bytesPostData
The same as above as byte[] |
private ServiceSoftware |
m_japSoftware
Stores the included ServiceSoftware information. |
private long |
m_lastUpdate
Time (see System.currentTimeMillis()) when the root-of-update information infoservice has propagated this minimum version info. |
private org.w3c.dom.Element |
m_xmlStructure
Stores the XML structure of this JAPVersionInfo. |
| Fields inherited from class anon.infoservice.AbstractDistributableDatabaseEntry |
|---|
XML_ATTR_LAST_UPDATE, XML_ATTR_SERIAL, XML_ATTR_VALID, XML_ATTR_VERIFIED |
| Fields inherited from class anon.infoservice.AbstractDatabaseEntry |
|---|
XML_LAST_UPDATE |
| Fields inherited from interface anon.infoservice.IDistributable |
|---|
FIELD_HTTP_REQUEST_STRING, FIELD_HTTP_SERIALS_REQUEST_STRING |
| Fields inherited from interface anon.util.IXMLEncodable |
|---|
FIELD_XML_ELEMENT_CONTAINER_NAME, FIELD_XML_ELEMENT_NAME, XML_ATTR_ID, XML_ATTR_LANGUAGE, XML_ATTR_VERSION |
| Constructor Summary | |
|---|---|
JAPMinVersion(org.w3c.dom.Element a_japRootNode)
Creates a new JAPMinVersion from XML description received from remote infoservice or local filesystem. |
|
JAPMinVersion(java.io.File a_fileRootNode)
Creates a new JAPMinVersion from XML description load from local filesystem. |
|
| Method Summary | |
|---|---|
java.lang.String |
getId()
Returns the ID for this JAPMinVersion instance. |
ServiceSoftware |
getJapSoftware()
Returns the included ServiceSoftware information about the minimum required JAP software version. |
long |
getLastUpdate()
Returns the time in milliseconds when this db entry was created from the origin instance. |
byte[] |
getPostData()
This returns the data, which are posted to other InfoServices. |
java.lang.String |
getPostFile()
This returns the filename (InfoService command), where this JAP minimum required version information is posted at other InfoServices, It's always '/currentjapversion'. |
long |
getVersionNumber()
Returns the time when this mimimum version information was created by the root-of-update-information infoservice. |
static java.lang.String |
getXmlElementName()
Returns the name of the XML root element used by this class. |
org.w3c.dom.Element |
getXmlStructure()
Returns the XML structure of this mimimum version info entry. |
| Methods inherited from class anon.infoservice.AbstractDistributableDatabaseEntry |
|---|
getHttpRequestString, getHttpSerialsRequestString, getPostEncoding, toXmlElement |
| Methods inherited from class anon.infoservice.AbstractDatabaseEntry |
|---|
deletePersistence, getCreationTime, getExpireTime, isNewerThan, isPersistanceDeletionAllowed, isUserDefined, resetCreationTime |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_ID
private static final long DATABASE_TIMEOUT
private ServiceSoftware m_japSoftware
private long m_lastUpdate
private org.w3c.dom.Element m_xmlStructure
private byte[] m_bytesPostData
| Constructor Detail |
|---|
public JAPMinVersion(java.io.File a_fileRootNode)
throws java.lang.Exception
a_fileJapMinVersion - The XML file containing the root node of the XML structure of this JAPMinVersion ('Jap' node).
java.lang.Exception
public JAPMinVersion(org.w3c.dom.Element a_japRootNode)
throws java.lang.Exception
a_japRootNode - The root node of the XML structure of this JAPMinVersion ('Jap' node).
java.lang.Exception| Method Detail |
|---|
public static java.lang.String getXmlElementName()
public java.lang.String getId()
getId in interface IDistributablegetId in class AbstractDatabaseEntrypublic long getLastUpdate()
AbstractDatabaseEntry
getLastUpdate in class AbstractDatabaseEntrypublic long getVersionNumber()
getVersionNumber in class AbstractDatabaseEntrypublic ServiceSoftware getJapSoftware()
public java.lang.String getPostFile()
public org.w3c.dom.Element getXmlStructure()
getXmlStructure in class AbstractDistributableDatabaseEntrypublic byte[] getPostData()
AbstractDistributableDatabaseEntry
getPostData in interface IDistributablegetPostData in class AbstractDistributableDatabaseEntry
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||