public class DockerEventListener extends Object implements hudson.ExtensionPoint
| Constructor and Description |
|---|
DockerEventListener() |
| Modifier and Type | Method and Description |
|---|---|
static hudson.ExtensionList<DockerEventListener> |
all()
Retrieves a list of Docker event listeners.
|
static void |
fire(DockerTraceabilityReport event)
Fires
DockerEvent on all listeners. |
static void |
fireNewDeployment(String containerId)
Notifies all listeners about the container deployment.
|
void |
onEvent(DockerTraceabilityReport event)
Notifies external listener that an event in Docker happened.
|
void |
onNewDeployment(String containerId)
Being called when a container deployment has been spotted.
|
public void onEvent(@Nonnull
DockerTraceabilityReport event)
event - Eventpublic void onNewDeployment(@Nonnull
String containerId)
DockerDeploymentFacet.containerId - Container ID (full 64-char representation)public static void fire(@Nonnull
DockerTraceabilityReport event)
DockerEvent on all listeners.event - Event to be triggeredpublic static void fireNewDeployment(@Nonnull
String containerId)
containerId - Container ID (full 64-char representation)@Nonnull public static hudson.ExtensionList<DockerEventListener> all()
DockerEventListener extensions.Copyright © 2015. All Rights Reserved.