Class Office365ConnectorBuildListener
java.lang.Object
hudson.model.listeners.RunListener<Run>
jenkins.plugins.office365connector.workflow.Office365ConnectorBuildListener
- All Implemented Interfaces:
ExtensionPoint
Office365ConnectorBuildListener
RunListener
.
When a build starts, the onStarted(Run, TaskListener)
method will be invoked. And
when a build finishes, the onCompleted(Run, TaskListener)
method will be invoked.
- Author:
- Srivardhan Hebbar
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.model.listeners.RunListener
LISTENERS, targetType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onCompleted
(Run run, TaskListener listener) Called when a build is completed.void
onStarted
(Run run, TaskListener listener) Called when a build is first started.Methods inherited from class hudson.model.listeners.RunListener
all, fireCompleted, fireDeleted, fireFinalized, fireInitialize, fireStarted, onDeleted, onFinalized, onInitialize, register, setUpEnvironment, unregister
-
Constructor Details
-
Office365ConnectorBuildListener
public Office365ConnectorBuildListener()
-
-
Method Details
-
onStarted
Called when a build is first started.- Overrides:
onStarted
in classRunListener<Run>
- Parameters:
run
- - A Run object representing a particular execution of Job.listener
- - A TaskListener object which receives events that happen during some operation.
-
onCompleted
Called when a build is completed.- Overrides:
onCompleted
in classRunListener<Run>
- Parameters:
run
- - A Run object representing a particular execution of Job.listener
- - A TaskListener object which receives events that happen during some operation.
-