Class NotificationResponse.Builder
java.lang.Object
org.kuali.rice.ken.api.notification.NotificationResponse.Builder
- All Implemented Interfaces:
Serializable,ModelBuilder,NotificationResponseContract
- Enclosing class:
- NotificationResponse
public static final class NotificationResponse.Builder
extends Object
implements Serializable, ModelBuilder, NotificationResponseContract
A builder which can be used to construct
NotificationResponse instances. Enforces the constraints of the NotificationResponseContract.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbuild()static NotificationResponse.Buildercreate()static NotificationResponse.Buildercreate(NotificationResponseContract contract) voidsetMessage(String message) voidsetNotificationId(Long notificationId) void
-
Method Details
-
create
-
create
-
build
- Specified by:
buildin interfaceModelBuilder
-
getMessage
- Specified by:
getMessagein interfaceNotificationResponseContract
-
getStatus
- Specified by:
getStatusin interfaceNotificationResponseContract
-
getNotificationId
- Specified by:
getNotificationIdin interfaceNotificationResponseContract
-
setMessage
-
setStatus
-
setNotificationId
-