public class DeferredLongRunningTask extends LongRunningTask
In this case, we want to query the longrunningtaskxml action instead of refreshing the status page to check progress.
Modifier and Type | Field and Description |
---|---|
static String |
LONGRUNNINGTASKXML_ACTION |
LONGRUNNINGTASK_ACTION
Modifier and Type | Method and Description |
---|---|
static DeferredLongRunningTask |
getInstance(String taskId) |
static DeferredLongRunningTask |
getInstance(String taskId,
net.sourceforge.jwebunit.junit.WebTester webTester) |
static DeferredLongRunningTask |
getInstanceForDisplayedTask() |
static DeferredLongRunningTask |
getInstanceForDisplayedTask(net.sourceforge.jwebunit.junit.WebTester tester) |
static DeferredLongRunningTask |
getInstanceForSetup(String taskId) |
static DeferredLongRunningTask |
getInstanceForSetup(String taskId,
net.sourceforge.jwebunit.junit.WebTester webTester) |
boolean |
waitToComplete(long timeout,
TimeUnit unit) |
boolean |
waitToComplete(long timeout,
TimeUnit unit,
String errorText) |
waitToComplete
public static final String LONGRUNNINGTASKXML_ACTION
public static DeferredLongRunningTask getInstanceForSetup(String taskId)
public static DeferredLongRunningTask getInstanceForSetup(String taskId, net.sourceforge.jwebunit.junit.WebTester webTester)
public static DeferredLongRunningTask getInstance(String taskId)
public static DeferredLongRunningTask getInstance(String taskId, net.sourceforge.jwebunit.junit.WebTester webTester)
public static DeferredLongRunningTask getInstanceForDisplayedTask()
public static DeferredLongRunningTask getInstanceForDisplayedTask(net.sourceforge.jwebunit.junit.WebTester tester)
public boolean waitToComplete(long timeout, TimeUnit unit, String errorText)
waitToComplete
in class LongRunningTask
public boolean waitToComplete(long timeout, TimeUnit unit)
Copyright © 2003–2017 Atlassian. All rights reserved.