@Extension
public class BuildListener
extends hudson.model.listeners.RunListener<hudson.model.Run>
| Constructor and Description |
|---|
BuildListener() |
| Modifier and Type | Method and Description |
|---|---|
static hudson.ExtensionList<BuildListener> |
getInstance()
Returns a registered
BuildListener instance. |
void |
onCompleted(hudson.model.Run run,
hudson.model.TaskListener listener)
Fired when a build is completed, event logged via Log4j-audit.
|
void |
onStarted(hudson.model.Run run,
hudson.model.TaskListener listener)
Fired when a build is started, event logged via Log4j-audit.
|
public void onStarted(hudson.model.Run run,
hudson.model.TaskListener listener)
onStarted in class hudson.model.listeners.RunListener<hudson.model.Run>run - of type Run having the build informationlistener - of type TaskListener that the onStarted method expectspublic void onCompleted(hudson.model.Run run,
hudson.model.TaskListener listener)
onCompleted in class hudson.model.listeners.RunListener<hudson.model.Run>run - of type Run having the build informationlistener - of type TaskListener that the onCompleted method expectspublic static hudson.ExtensionList<BuildListener> getInstance()
BuildListener instance.Copyright © 2016–2020. All rights reserved.