public class UpdateChecker
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
UpdateChecker.PluginUpdate |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PLUGIN_RELEASE_DATE_FMT |
Constructor and Description |
---|
UpdateChecker(UpdateCheckCallback dfc) |
Modifier and Type | Method and Description |
---|---|
protected void |
actuallyCheckforUpdates(java.net.URI url,
java.util.Collection<Plugin> plugins,
java.lang.String entryPoint)
protected for testing
|
void |
checkForUpdates(java.util.Collection<Plugin> plugins,
boolean force) |
java.lang.String |
getPluginThatDisabledUpdateChecks() |
java.net.URI |
getRedirectURL(boolean force) |
protected void |
logError(java.lang.Exception e,
java.lang.String msg) |
protected void |
logError(java.util.logging.Level level,
java.lang.String msg) |
static void |
main(java.lang.String[] args) |
boolean |
updateChecksGloballyDisabled() |
boolean |
updatesHaveBeenSeenBefore(java.util.Collection<UpdateChecker.PluginUpdate> updates) |
protected void |
writeXml(java.io.OutputStream out,
java.util.Collection<Plugin> plugins,
java.lang.String entryPoint,
boolean finish)
protected for testing
|
public static final java.lang.String PLUGIN_RELEASE_DATE_FMT
public UpdateChecker(UpdateCheckCallback dfc)
public void checkForUpdates(java.util.Collection<Plugin> plugins, boolean force)
@CheckForNull public java.net.URI getRedirectURL(boolean force)
public boolean updatesHaveBeenSeenBefore(java.util.Collection<UpdateChecker.PluginUpdate> updates)
public boolean updateChecksGloballyDisabled()
public java.lang.String getPluginThatDisabledUpdateChecks()
protected void actuallyCheckforUpdates(java.net.URI url, java.util.Collection<Plugin> plugins, java.lang.String entryPoint) throws java.io.IOException
java.io.IOException
protected final void writeXml(java.io.OutputStream out, java.util.Collection<Plugin> plugins, java.lang.String entryPoint, boolean finish) throws java.io.IOException
java.io.IOException
protected void logError(java.util.logging.Level level, java.lang.String msg)
protected void logError(java.lang.Exception e, java.lang.String msg)
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.