hudson.plugins.signal_killer
Class SignalKiller

java.lang.Object
  extended by hudson.util.ProcessKiller
      extended by hudson.plugins.signal_killer.SignalKiller
All Implemented Interfaces:
hudson.ExtensionPoint, java.io.Serializable

@Extension
public class SignalKiller
extends hudson.util.ProcessKiller

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
static int SIGABRT
           
static int SIGKILL
           
static int SIGTERM
           
 
Constructor Summary
SignalKiller()
          Default constructor.
 
Method Summary
 boolean kill(hudson.util.ProcessTree.OSProcess process)
           
 
Methods inherited from class hudson.util.ProcessKiller
all
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIGABRT

public static final int SIGABRT
See Also:
Constant Field Values

SIGKILL

public static final int SIGKILL
See Also:
Constant Field Values

SIGTERM

public static final int SIGTERM
See Also:
Constant Field Values
Constructor Detail

SignalKiller

public SignalKiller()
Default constructor. Does nothing, just logs that plugin instance was created on Hudson master.

Method Detail

kill

public boolean kill(hudson.util.ProcessTree.OSProcess process)
             throws java.io.IOException,
                    java.lang.InterruptedException
Specified by:
kill in class hudson.util.ProcessKiller
Throws:
java.io.IOException
java.lang.InterruptedException


Copyright © 2011. All Rights Reserved.