public void waitFor(String name,Cmd command,Context context,String input, long timeout, TimeUnit unit){
        //TODO use scheduled task to implement timeout
        Waiter waiter = new Waiter(command,context,input);
        waitFor(name,waiter);
    }
public void waitFor(String name,Cmd command,Context context,String input, long timeout, TimeUnit unit){
       
        Waiter waiter = new Waiter(command,context,input);
        waitFor(name,waiter);
    }
public void waitfor(string name,cmd command,context context,string input, long timeout, timeunit unit){ waiter waiter = new waiter(command,context,input); waitfor(name,waiter); }