FileDocCategorySizeDatePackage
TimeProcess.javaAPI DocApache Ant 1.701266Wed Dec 13 06:16:22 GMT 2006org.apache.tools.ant.taskdefs

TimeProcess

public class TimeProcess extends Object
Helper class for ExecuteWatchdogTest and ExecuteJavaTest.

Used to be an inner class of ExecuteWatchdogTest.

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

        int time = Integer.parseInt(args[0]);
        if (time < 1) {
            throw new IllegalArgumentException("Invalid time: " + time);
        }
        Thread.sleep(time);