public class ConfigUpdateHelper extends HelperBase
_context, _out, CHECKED, PROP_ADVANCED
Constructor and Description |
---|
ConfigUpdateHelper() |
Modifier and Type | Method and Description |
---|---|
boolean |
canInstall() |
String |
getDevSU3URL() |
String |
getNewsStatus() |
String |
getNewsThroughProxy() |
String |
getNewsURL() |
static String |
getNewsURL(I2PAppContext ctx)
hack to replace the old news location with the new one, even if they have saved
the update page at some point
|
String |
getProxyHost() |
String |
getProxyPort() |
String |
getRefreshFrequencySelectBox() |
String |
getTrustedKeys() |
String |
getUpdateDevSU3() |
String |
getUpdatePolicySelectBox()
Right now the jsp hides the whole select box if _dontInstall is true but this could change
|
String |
getUpdateThroughProxy() |
String |
getUpdateUnsigned() |
String |
getUpdateURL() |
String |
getZipURL() |
void |
setContextId(String contextId)
hook this so we can call dontInstall() once after getting a context
|
boolean |
updateAvailable() |
_t, _t, _t, _x, getChecked, isAdvanced, ngettext, storeWriter
public void setContextId(String contextId)
setContextId
in class HelperBase
contextId
- beginning few characters of the routerHash, or null to pick
the first one we come across.public boolean canInstall()
public boolean updateAvailable()
public String getNewsURL()
public static String getNewsURL(I2PAppContext ctx)
public String getUpdateURL()
public String getProxyHost()
public String getProxyPort()
public String getUpdateThroughProxy()
public String getNewsThroughProxy()
public String getUpdateUnsigned()
public String getUpdateDevSU3()
public String getRefreshFrequencySelectBox()
public String getUpdatePolicySelectBox()
public String getTrustedKeys()
public String getZipURL()
public String getDevSU3URL()
public String getNewsStatus()