Search in sources :

Example 1 with OutOfPixieDustNotificationBuilder

use of org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.test.bi.ba.notification.rev150205.OutOfPixieDustNotificationBuilder in project controller by opendaylight.

the class NotificationIT method noDustNotification.

/**
 * Creates instance of the type OutOfPixieDustNotification. It is
 * used only for testing purpose.
 *
 * @param reason
 * @param days
 * @return instance of the type OutOfPixieDustNotification
 */
public static OutOfPixieDustNotification noDustNotification(String reason, int days) {
    OutOfPixieDustNotificationBuilder ret = new OutOfPixieDustNotificationBuilder();
    ret.setReason(reason).setDaysTillNewDust(days);
    return ret.build();
}
Also used : OutOfPixieDustNotificationBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.test.bi.ba.notification.rev150205.OutOfPixieDustNotificationBuilder)

Aggregations

OutOfPixieDustNotificationBuilder (org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.test.bi.ba.notification.rev150205.OutOfPixieDustNotificationBuilder)1