@Extension public class RekeySecretAdminMonitor extends AsynchronousAdministrativeMonitor implements org.kohsuke.stapler.StaplerProxy
SecretRewriterAsynchronousAdministrativeMonitor.FixThreadExtensionPoint.LegacyInstancesAreScopedToHudsonid| Constructor and Description |
|---|
RekeySecretAdminMonitor() |
| Modifier and Type | Method and Description |
|---|---|
org.kohsuke.stapler.HttpResponse |
doScan(org.kohsuke.stapler.StaplerRequest req) |
protected void |
fix(TaskListener listener)
Run on a separate thread in the background to fix up stuff.
|
String |
getDisplayName() |
protected File |
getLogFile()
Rewrite log file.
|
Object |
getTarget()
Requires ADMINISTER permission for any operation in here.
|
boolean |
isActivated()
Returns true if this monitor is activated and
wants to produce a warning message.
|
boolean |
isDone()
Indicates that the re-keying has run to the completion.
|
boolean |
isScanOnBoot() |
static void |
scanOnReboot() |
void |
setNeeded() |
getBaseDir, getLogText, isFixingActive, startall, disable, doDisable, getSearchUrl, getUrl, isEnabledgetSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendErrorpublic RekeySecretAdminMonitor()
throws IOException
IOExceptionpublic Object getTarget()
getTarget in interface org.kohsuke.stapler.StaplerProxypublic boolean isActivated()
AdministrativeMonitorThis method is called from the HTML rendering thread, so it should run efficiently.
isActivated in class AdministrativeMonitorpublic boolean isDone()
public void setNeeded()
public boolean isScanOnBoot()
public org.kohsuke.stapler.HttpResponse doScan(org.kohsuke.stapler.StaplerRequest req)
throws IOException,
GeneralSecurityException
IOExceptionGeneralSecurityException@Initializer(fatal=false, after=PLUGINS_STARTED, before=EXTENSIONS_AUGMENTED) public static void scanOnReboot() throws InterruptedException, IOException, GeneralSecurityException
public String getDisplayName()
getDisplayName in interface ModelObjectgetDisplayName in class AsynchronousAdministrativeMonitorprotected File getLogFile()
getLogFile in class AsynchronousAdministrativeMonitorprotected void fix(TaskListener listener) throws Exception
AsynchronousAdministrativeMonitorfix in class AsynchronousAdministrativeMonitorExceptionCopyright © 2019. All rights reserved.