@Named
@Profile(value="test")
public class TestFactory
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
API_KEY |
static java.lang.String |
API_PASSWORD |
static java.lang.String |
DOMAIN_NAME |
| Constructor and Description |
|---|
TestFactory(CouchServers couchServers,
DomainKernel domainKernel,
NotificationKernel notificationKernel) |
| Modifier and Type | Method and Description |
|---|---|
CreateNotification |
newCreateNotificationNoException() |
CreateNotification |
newCreateNotificationWithException() |
org.tiogasolutions.notify.pub.domain.DomainProfile |
newDomainProfile() |
TaskEntity |
newEmailTaskEntity(org.tiogasolutions.notify.pub.notification.Notification notification) |
org.tiogasolutions.notify.pub.common.ExceptionInfo |
newExceptionInfo() |
java.util.List<org.tiogasolutions.notify.pub.common.Link> |
newLinks() |
org.tiogasolutions.notify.pub.notification.Notification |
newNotification(CreateNotification create) |
NotificationEntity |
newNotification(ExecutionContext execContext,
CreateNotification create) |
org.tiogasolutions.notify.pub.notification.NotificationRef |
newNotificationRef(CreateNotification create) |
java.lang.String |
toHttpAuth(java.lang.String username,
java.lang.String password) |
public static final java.lang.String API_KEY
public static final java.lang.String API_PASSWORD
public static final java.lang.String DOMAIN_NAME
@Inject public TestFactory(CouchServers couchServers, DomainKernel domainKernel, NotificationKernel notificationKernel)
public TaskEntity newEmailTaskEntity(org.tiogasolutions.notify.pub.notification.Notification notification)
public org.tiogasolutions.notify.pub.notification.NotificationRef newNotificationRef(CreateNotification create)
public org.tiogasolutions.notify.pub.domain.DomainProfile newDomainProfile()
public org.tiogasolutions.notify.pub.notification.Notification newNotification(CreateNotification create)
public NotificationEntity newNotification(ExecutionContext execContext, CreateNotification create)
public java.util.List<org.tiogasolutions.notify.pub.common.Link> newLinks()
public CreateNotification newCreateNotificationWithException()
public CreateNotification newCreateNotificationNoException()
public org.tiogasolutions.notify.pub.common.ExceptionInfo newExceptionInfo()
public java.lang.String toHttpAuth(java.lang.String username,
java.lang.String password)