@Extension public class OutOfOrderBuildMonitor extends AsynchronousAdministrativeMonitor
Problems found and report them in the "Manage Jenkins" page.AsynchronousAdministrativeMonitor.FixThreadExtensionPoint.LegacyInstancesAreScopedToHudsonid| Constructor and Description |
|---|
OutOfOrderBuildMonitor() |
| Modifier and Type | Method and Description |
|---|---|
org.kohsuke.stapler.HttpResponse |
doDismiss()
Discards the current log file so that the "stuff is completed" message will be gone.
|
org.kohsuke.stapler.HttpResponse |
doFix() |
protected void |
fix(TaskListener listener)
Run on a separate thread in the background to fix up stuff.
|
String |
getDisplayName() |
File |
getLogFile()
Rewrite log file.
|
Set<Problem> |
getProblems() |
boolean |
isActivated()
Returns true if this monitor is activated and
wants to produce a warning message.
|
getBaseDir, getLogText, isFixingActive, startall, disable, doDisable, getSearchUrl, getUrl, isEnabledgetSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendErrorpublic boolean isActivated()
AdministrativeMonitorThis method is called from the HTML rendering thread, so it should run efficiently.
isActivated in class AdministrativeMonitorpublic org.kohsuke.stapler.HttpResponse doFix()
public org.kohsuke.stapler.HttpResponse doDismiss()
public String getDisplayName()
getDisplayName in interface ModelObjectgetDisplayName in class AsynchronousAdministrativeMonitorpublic File getLogFile()
AsynchronousAdministrativeMonitorgetLogFile in class AsynchronousAdministrativeMonitorprotected void fix(TaskListener listener) throws Exception
AsynchronousAdministrativeMonitorfix in class AsynchronousAdministrativeMonitorExceptionCopyright © 2014. All rights reserved.