Class RunListenerImpl
- java.lang.Object
-
- hudson.model.listeners.RunListener<Run>
-
- com.axis.jenkins.plugins.eiffel.eiffelbroadcaster.RunListenerImpl
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class RunListenerImpl extends RunListener<Run>
Receives notifications about builds and publish messages on configured MQ server.- Author:
- Isac Holm <isac.holm@axis.com>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONSOLE_LOG_NAME
The name given to the Jenkins console log inEiffelActivityStartedEvent.Data.LiveLogs
andEiffelActivityFinishedEvent.Data.PersistentLogs
objects.static String
CONSOLE_URI_PATH
The URI path to the plain console log of aRun
, relative to the URI of the Run.-
Fields inherited from class hudson.model.listeners.RunListener
LISTENERS, targetType
-
-
Constructor Summary
Constructors Constructor Description RunListenerImpl()
Constructor for RunListenerImpl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onCompleted(Run r, TaskListener listener)
void
onStarted(Run r, TaskListener listener)
-
Methods inherited from class hudson.model.listeners.RunListener
all, fireCompleted, fireDeleted, fireFinalized, fireInitialize, fireStarted, onDeleted, onFinalized, onInitialize, register, setUpEnvironment, unregister
-
-
-
-
Field Detail
-
CONSOLE_LOG_NAME
public static final String CONSOLE_LOG_NAME
The name given to the Jenkins console log inEiffelActivityStartedEvent.Data.LiveLogs
andEiffelActivityFinishedEvent.Data.PersistentLogs
objects.- See Also:
- Constant Field Values
-
CONSOLE_URI_PATH
public static final String CONSOLE_URI_PATH
The URI path to the plain console log of aRun
, relative to the URI of the Run.- See Also:
- Constant Field Values
-
-
Method Detail
-
onStarted
public void onStarted(Run r, TaskListener listener)
- Overrides:
onStarted
in classRunListener<Run>
-
onCompleted
public void onCompleted(Run r, TaskListener listener)
- Overrides:
onCompleted
in classRunListener<Run>
-
-