public static class StatusInfo.Builder extends Object implements ModelBuilder<StatusInfo>, Status
Constructor and Description |
---|
StatusInfo.Builder() |
StatusInfo.Builder(Status status) |
Modifier and Type | Method and Description |
---|---|
StatusInfo |
build() |
String |
getMessage()
Name: Message
Optional message indicating a reason
|
Boolean |
getSuccess() |
Boolean |
isSuccess()
Name: Success Indicator
Indicates the success or failure of the operation
|
void |
setMessage(String message) |
void |
setSuccess(Boolean success) |
public StatusInfo.Builder()
public StatusInfo.Builder(Status status)
public StatusInfo build()
build
in interface ModelBuilder<StatusInfo>
public Boolean isSuccess()
Status
public String getMessage()
Status
getMessage
in interface Status
public Boolean getSuccess()
public void setSuccess(Boolean success)
public void setMessage(String message)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.