public class WorkflowInstanceHistoryPoller
extends org.apache.sling.testing.clients.util.poller.Polling
Constructor and Description |
---|
WorkflowInstanceHistoryPoller(WorkflowClient client,
String workflowInstancePath) |
Modifier and Type | Method and Description |
---|---|
Boolean |
call() |
void |
setCondition(String expectedProcess,
String expectedStatus)
Set the condition that will define the polling
|
public WorkflowInstanceHistoryPoller(WorkflowClient client, String workflowInstancePath)
public Boolean call() throws org.apache.sling.testing.clients.ClientException
public void setCondition(String expectedProcess, String expectedStatus)
expectedProcess
- the process title that is expected to be found in the history
itemsexpectedStatus
- the status of that history item (i.e completed, active etc..)Copyright © 2018. All rights reserved.