org.jenkinsci.plugins.detection.unreliable.slave
Class BuildStatisticListener

java.lang.Object
  extended by hudson.model.listeners.RunListener<hudson.model.Run>
      extended by org.jenkinsci.plugins.detection.unreliable.slave.BuildStatisticListener
All Implemented Interfaces:
hudson.ExtensionPoint

@Extension
public class BuildStatisticListener
extends hudson.model.listeners.RunListener<hudson.model.Run>

Author:
lucinka

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
BuildStatisticListener()
           
 
Method Summary
 SlaveBuildFailureStatistic getSlaveStatistic(String computerName)
           
 void handleUnreliableSlave(hudson.model.Computer computer, UnreliableSlaveDetection settings, SlaveBuildFailureStatistic slaveStatistic)
           
 void onCompleted(hudson.model.Run run, hudson.model.TaskListener listener)
           
 
Methods inherited from class hudson.model.listeners.RunListener
all, fireCompleted, fireDeleted, fireFinalized, fireStarted, onDeleted, onFinalized, onStarted, register, setUpEnvironment, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildStatisticListener

public BuildStatisticListener()
Method Detail

onCompleted

public void onCompleted(hudson.model.Run run,
                        hudson.model.TaskListener listener)
Overrides:
onCompleted in class hudson.model.listeners.RunListener<hudson.model.Run>

handleUnreliableSlave

public void handleUnreliableSlave(hudson.model.Computer computer,
                                  UnreliableSlaveDetection settings,
                                  SlaveBuildFailureStatistic slaveStatistic)
                           throws IOException,
                                  InterruptedException
Throws:
IOException
InterruptedException

getSlaveStatistic

public SlaveBuildFailureStatistic getSlaveStatistic(String computerName)


Copyright © 2004-2013. All Rights Reserved.