Package org.jvnet.hudson.test
Class ChannelShutdownListener
- java.lang.Object
-
- hudson.slaves.ComputerListener
-
- org.jvnet.hudson.test.ChannelShutdownListener
-
- All Implemented Interfaces:
hudson.ExtensionPoint,EndOfTestListener
@Extension public class ChannelShutdownListener extends hudson.slaves.ComputerListener implements EndOfTestListener
Runs at the end of the test to cleanup any live channels.- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description ChannelShutdownListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonOnline(hudson.model.Computer c, hudson.model.TaskListener listener)voidonTearDown()Called for clean up.
-
-
-
Method Detail
-
onOnline
public void onOnline(hudson.model.Computer c, hudson.model.TaskListener listener) throws IOException, InterruptedException- Overrides:
onOnlinein classhudson.slaves.ComputerListener- Throws:
IOExceptionInterruptedException
-
onTearDown
public void onTearDown() throws ExceptionDescription copied from interface:EndOfTestListenerCalled for clean up.- Specified by:
onTearDownin interfaceEndOfTestListener- Throws:
Exception
-
-