public class ConfigUpdateHelper extends HelperBase
This class provides methods for configuring and displaying update settings including proxy configuration, update policies, refresh frequencies, and trusted key management. It integrates with the router console to generate HTML form elements for update configuration.
_context, _out, CHECKED, PROP_ADVANCED, SELECTED| 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) |
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, getCheckedDefaultTrue, isAdvanced, ngettext, storeWriterpublic boolean canInstall()
public String getDevSU3URL()
public String getNewsStatus()
public String getNewsThroughProxy()
public String getNewsURL()
public static String getNewsURL(I2PAppContext ctx)
public String getProxyHost()
public String getProxyPort()
public String getRefreshFrequencySelectBox()
public String getTrustedKeys()
public String getUpdateDevSU3()
public String getUpdatePolicySelectBox()
public String getUpdateThroughProxy()
public String getUpdateUnsigned()
public String getUpdateURL()
public String getZipURL()
public void setContextId(String contextId)
setContextId in class HelperBasecontextId - beginning few characters of the routerHash, or null to pick
the first one we come across.public boolean updateAvailable()