Package io.lumify.core.model.systemNotification

Examples of io.lumify.core.model.systemNotification.SystemNotification


        SimpleDateFormat sdf = new SimpleDateFormat(DATE_FORMAT);
        Date startDate = sdf.parse(startDateParameter);
        String endDateParameter = getOptionalParameter(request, END_DATE_PARAMETER_NAME);
        Date endDate = endDateParameter != null ? sdf.parse(endDateParameter) : null;

        SystemNotification notification = systemNotificationRepository.createNotification(severity, title, message, startDate, endDate);

        if (notification.isActive()) {
            workQueueRepository.pushSystemNotification(notification);
        }

        respondWithSuccessJson(response);
    }
View Full Code Here

TOP

Related Classes of io.lumify.core.model.systemNotification.SystemNotification

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.