|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vodafone360.people.engine.upgrade.UpgradeStatus
public class UpgradeStatus
Represents a parsed remote upgrade status text file.
Field Summary | |
---|---|
private static java.lang.String |
LATEST_VERSION
|
private int |
mLatestVersion
|
private java.lang.String |
mUpgradeText
|
private java.lang.String |
mUpgradeUrl
|
private static java.util.Map<java.lang.String,java.lang.String> |
sMap
|
private static java.lang.String |
UPGRADE_TEXT
|
private static java.lang.String |
UPGRADE_URL
|
Constructor Summary | |
---|---|
UpgradeStatus()
|
Method Summary | |
---|---|
protected void |
addSetting(java.lang.String input)
Add a setting. |
int |
getLatestVersion()
Get the latest version. |
java.lang.String |
getUpgradeText(Context context)
Get the upgrade text. |
java.lang.String |
getUpgradeUrl()
Gets the upgrade URL. |
void |
setLatestVersion(int latestVersion)
Sets the latest version. |
void |
setUpgradeText(java.lang.String upgradeText)
Set the upgrade text. |
void |
setUpgradeUrl(java.lang.String upgradeUrl)
Sets the new upgrade URL. |
void |
setUpgradeVersion(Context context)
Set the upgrade version. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final java.lang.String LATEST_VERSION
private static final java.lang.String UPGRADE_URL
private static final java.lang.String UPGRADE_TEXT
private int mLatestVersion
private java.lang.String mUpgradeUrl
private java.lang.String mUpgradeText
private static java.util.Map<java.lang.String,java.lang.String> sMap
Constructor Detail |
---|
public UpgradeStatus()
Method Detail |
---|
protected void addSetting(java.lang.String input)
input
- Single line from the update descriptor filepublic int getLatestVersion()
public void setLatestVersion(int latestVersion)
latestVersion
- - the latest versionpublic java.lang.String getUpgradeUrl()
public void setUpgradeUrl(java.lang.String upgradeUrl)
upgradeUrl
- - the URL to usepublic java.lang.String getUpgradeText(Context context)
public void setUpgradeText(java.lang.String upgradeText)
upgradeText
- - the new textpublic void setUpgradeVersion(Context context)
context
- Android context.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
JavaDoc