com.github.tamnguyenbbt.task.FutureTaskExecutor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dom-util Show documentation
Show all versions of dom-util Show documentation
Find jsoup elements, relative xpath queries, and Selenium web elements for web service and Selenium-based Web UI testing
package com.github.tamnguyenbbt.task;
import java.util.concurrent.Future;
public class FutureTaskExecutor
{
private final Future future;
private final ITask task;
FutureTaskExecutor(Future future, ITask task)
{
this.future = future;
this.task = task;
}
Future getFuture()
{
return future;
}
@Override
public String toString()
{
return task.toString();
}
}