public class WorkflowTestSuite extends Object
Modifier and Type | Method and Description |
---|---|
RestClient |
getClient(String user)
Returns a RestClient instance for a specific user.
|
String |
getHost()
Server BASE URL
|
static WorkflowTestSuite |
getInstance()
Singleton Lazy initialization
|
static Logger |
getLogger() |
List<ItemCollection> |
getWorklist(String user)
Get the default worklist for a specific user
|
List<ItemCollection> |
getWorklist(String user,
String resourceType,
String param)
Get the worklist for a specific user with an optional param
|
void |
joinParty(String user,
String password)
This method can be used to register a new test client.
|
static void |
log(Level level,
String message)
Public Logger method for test clients.
|
ItemCollection |
processWorkitem(ItemCollection workitem,
String user)
post the workitem for a specific user
|
void |
setHost(String host) |
public static WorkflowTestSuite getInstance()
public String getHost()
public void setHost(String host)
public static Logger getLogger()
public static void log(Level level, String message)
level
- message
- public void joinParty(String user, String password)
user
- - user idpassword
- - optional passwordpublic RestClient getClient(String user)
user
- public List<ItemCollection> getWorklist(String user, String resourceType, String param)
user
- resource
- - resource stringparam
- - optional query paramWorkflowSerice
public List<ItemCollection> getWorklist(String user)
user
- public ItemCollection processWorkitem(ItemCollection workitem, String user)
user
- Copyright © 2006–2019 Imixs Software Solutions GmbH. All rights reserved.