@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(DomainKernel domainKernel,
NotificationKernel notificationKernel) |
| Modifier and Type | Method and Description |
|---|---|
CreateNotification |
newCreateNotificationNoException() |
CreateNotification |
newCreateNotificationWithException() |
org.tiogasolutions.notify.pub.DomainProfile |
newDomainProfile() |
TaskEntity |
newEmailTaskEntity(org.tiogasolutions.notify.pub.Notification notification) |
org.tiogasolutions.notify.pub.ExceptionInfo |
newExceptionInfo() |
org.tiogasolutions.notify.pub.Notification |
newNotification(CreateNotification create) |
NotificationEntity |
newNotification(ExecutionContext execContext,
CreateNotification create) |
org.tiogasolutions.notify.pub.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(DomainKernel domainKernel, NotificationKernel notificationKernel)
public TaskEntity newEmailTaskEntity(org.tiogasolutions.notify.pub.Notification notification)
public org.tiogasolutions.notify.pub.NotificationRef newNotificationRef(CreateNotification create)
public org.tiogasolutions.notify.pub.DomainProfile newDomainProfile()
public org.tiogasolutions.notify.pub.Notification newNotification(CreateNotification create)
public NotificationEntity newNotification(ExecutionContext execContext, CreateNotification create)
public CreateNotification newCreateNotificationWithException()
public CreateNotification newCreateNotificationNoException()
public org.tiogasolutions.notify.pub.ExceptionInfo newExceptionInfo()
public java.lang.String toHttpAuth(java.lang.String username,
java.lang.String password)