@Extension public class OutOfOrderBuildMonitor extends AsynchronousAdministrativeMonitor
Problem
s found and report them in the "Manage Jenkins" page.AsynchronousAdministrativeMonitor.FixThread
ExtensionPoint.LegacyInstancesAreScopedToHudson
id
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, start
all, disable, doDisable, getSearchUrl, getUrl, isEnabled
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
public boolean isActivated()
AdministrativeMonitor
This method is called from the HTML rendering thread, so it should run efficiently.
isActivated
in class AdministrativeMonitor
public org.kohsuke.stapler.HttpResponse doFix()
public org.kohsuke.stapler.HttpResponse doDismiss()
public String getDisplayName()
getDisplayName
in interface ModelObject
getDisplayName
in class AsynchronousAdministrativeMonitor
public File getLogFile()
AsynchronousAdministrativeMonitor
getLogFile
in class AsynchronousAdministrativeMonitor
protected void fix(TaskListener listener) throws Exception
AsynchronousAdministrativeMonitor
fix
in class AsynchronousAdministrativeMonitor
Exception
Copyright © 2014. All rights reserved.