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 void
onOnline(hudson.model.Computer c, hudson.model.TaskListener listener)
void
onTearDown()
Called for clean up.
-
-
-
Method Detail
-
onOnline
public void onOnline(hudson.model.Computer c, hudson.model.TaskListener listener) throws IOException, InterruptedException
- Overrides:
onOnline
in classhudson.slaves.ComputerListener
- Throws:
IOException
InterruptedException
-
onTearDown
public void onTearDown() throws Exception
Description copied from interface:EndOfTestListener
Called for clean up.- Specified by:
onTearDown
in interfaceEndOfTestListener
- Throws:
Exception
-
-