public class SelfDestructor
extends java.lang.Object
| Constructor and Description |
|---|
SelfDestructor() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getPropertyString(int minutes)
Get the string to be added when starting the Java process.
|
static void |
startCountdown(int defaultMinutes)
Start the countdown.
|
public static void startCountdown(int defaultMinutes)
defaultMinutes - the default number of minutes after which the
current process is killed.public static java.lang.String getPropertyString(int minutes)
minutes - the countdown time in minutes