public class ClassLoaderCheck extends HealthCheck
HealthCheck that verifies that some required plugin
classes were loaded. Also allow checking within a particular plugin's class
loader by using the 'class@plugin_name' notation.| Modifier and Type | Class and Description |
|---|---|
static class |
ClassLoaderCheck.DescriptorImpl
Descriptor class for this extension.
|
| Constructor and Description |
|---|
ClassLoaderCheck(String classesToCheckCsv) |
| Modifier and Type | Method and Description |
|---|---|
String |
getClassesToCheckCsv() |
hudson.model.Result |
perform(hudson.model.TaskListener taskListener)
Subclass needs to implement its own health check logic here.
|
String |
toString() |
all, performDerivation@DataBoundConstructor public ClassLoaderCheck(String classesToCheckCsv)
classesToCheckCsv - the classes to check as string of comma or space separated.public String getClassesToCheckCsv()
public hudson.model.Result perform(hudson.model.TaskListener taskListener)
perform in class HealthChecktaskListener - the logger to capture logs from performing the checks.Result.SUCCESS in case of
a successful health-check and Result.FAILURE otherwise.Copyright © 2004-2015. All Rights Reserved.