hudson.plugins.promoted_builds.conditions
Class DownstreamPassCondition.RunListenerImpl

java.lang.Object
  extended by hudson.model.listeners.RunListener<hudson.model.AbstractBuild<?,?>>
      extended by hudson.plugins.promoted_builds.conditions.DownstreamPassCondition.RunListenerImpl
All Implemented Interfaces:
hudson.ExtensionPoint
Enclosing class:
DownstreamPassCondition

@Extension
public static final class DownstreamPassCondition.RunListenerImpl
extends hudson.model.listeners.RunListener<hudson.model.AbstractBuild<?,?>>

RunListener to pick up completions of downstream builds.

This is a single instance that receives all the events everywhere in the system.

Author:
Kohsuke Kawaguchi

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.model.listeners.RunListener
LISTENERS, targetType
 
Constructor Summary
DownstreamPassCondition.RunListenerImpl()
           
 
Method Summary
 void onCompleted(hudson.model.AbstractBuild<?,?> build, hudson.model.TaskListener listener)
           
static void rebuildCache()
          Called whenever some JobPropertyImpl changes to update DOWNSTREAM_JOBS.
 
Methods inherited from class hudson.model.listeners.RunListener
all, fireCompleted, fireDeleted, fireFinalized, fireStarted, onDeleted, onFinalized, onStarted, register, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DownstreamPassCondition.RunListenerImpl

public DownstreamPassCondition.RunListenerImpl()
Method Detail

onCompleted

public void onCompleted(hudson.model.AbstractBuild<?,?> build,
                        hudson.model.TaskListener listener)
Overrides:
onCompleted in class hudson.model.listeners.RunListener<hudson.model.AbstractBuild<?,?>>

rebuildCache

public static void rebuildCache()
Called whenever some JobPropertyImpl changes to update DOWNSTREAM_JOBS.



Copyright © 2010. All Rights Reserved.