public class TestMainSupport
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
apiKey |
protected java.lang.String |
apiPassword |
protected java.lang.String |
apiPath |
protected javax.ws.rs.client.Client |
client |
protected org.tiogasolutions.notify.sender.couch.CouchNotificationSenderSetup |
couchSenderSetup |
protected java.lang.String |
domainName |
| Constructor and Description |
|---|
TestMainSupport() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteNotification(java.lang.String domainName,
org.tiogasolutions.notify.pub.notification.Notification notification) |
void |
deleteRequest(java.lang.String domainName,
org.tiogasolutions.notify.pub.request.NotificationRequest request) |
void |
deleteTask(java.lang.String domainName,
org.tiogasolutions.notify.pub.task.Task task) |
org.tiogasolutions.dev.domain.query.QueryResult<org.tiogasolutions.notify.pub.notification.Notification> |
getNotifications(java.lang.String domainName) |
org.tiogasolutions.notify.pub.domain.DomainProfile |
getOrCreateDomainProfile(javax.ws.rs.client.Client client,
java.lang.String domainName) |
org.tiogasolutions.dev.domain.query.QueryResult<org.tiogasolutions.notify.pub.request.NotificationRequest> |
getRequests(java.lang.String domainName,
org.tiogasolutions.notify.pub.request.NotificationRequestStatus requestStatus) |
org.tiogasolutions.dev.domain.query.QueryResult<org.tiogasolutions.notify.pub.task.Task> |
getTasks(org.tiogasolutions.notify.pub.task.TaskStatus taskStatus) |
void |
startProcessor() |
void |
startReceiver() |
protected javax.ws.rs.client.Client client
protected java.lang.String domainName
protected java.lang.String apiKey
protected java.lang.String apiPassword
protected java.lang.String apiPath
protected org.tiogasolutions.notify.sender.couch.CouchNotificationSenderSetup couchSenderSetup
public org.tiogasolutions.notify.pub.domain.DomainProfile getOrCreateDomainProfile(javax.ws.rs.client.Client client,
java.lang.String domainName)
throws java.io.IOException
java.io.IOExceptionpublic org.tiogasolutions.dev.domain.query.QueryResult<org.tiogasolutions.notify.pub.task.Task> getTasks(org.tiogasolutions.notify.pub.task.TaskStatus taskStatus)
throws java.io.IOException
java.io.IOExceptionpublic org.tiogasolutions.dev.domain.query.QueryResult<org.tiogasolutions.notify.pub.notification.Notification> getNotifications(java.lang.String domainName)
throws java.io.IOException
java.io.IOExceptionpublic void deleteNotification(java.lang.String domainName,
org.tiogasolutions.notify.pub.notification.Notification notification)
public org.tiogasolutions.dev.domain.query.QueryResult<org.tiogasolutions.notify.pub.request.NotificationRequest> getRequests(java.lang.String domainName,
org.tiogasolutions.notify.pub.request.NotificationRequestStatus requestStatus)
throws java.io.IOException
java.io.IOExceptionpublic void deleteTask(java.lang.String domainName,
org.tiogasolutions.notify.pub.task.Task task)
public void deleteRequest(java.lang.String domainName,
org.tiogasolutions.notify.pub.request.NotificationRequest request)
public void startReceiver()
public void startProcessor()