public class PublishingResponseDto extends Object
| Modifier and Type | Field and Description |
|---|---|
static PublishingResponseDto |
DISABLED_ON_CLIENT |
static String |
DISABLED_ON_CLIENT_MESSAGE |
static PublishingResponseDto |
DISCARD |
static String |
DISCARD_MESSAGE |
String |
message |
static PublishingResponseDto |
NO_OP |
static String |
NO_OP_MESSAGE |
static PublishingResponseDto |
REJECT |
static String |
REJECT_MESSAGE |
Boolean |
success |
static PublishingResponseDto |
SUCCESS |
static String |
SUCCESS_MESSAGE |
| Modifier and Type | Method and Description |
|---|---|
void |
assertSuccess() |
static PublishingResponseDto |
error(Exception exception) |
static PublishingResponseDto |
error(String errorMessage) |
public static final String SUCCESS_MESSAGE
public static final String DISABLED_ON_CLIENT_MESSAGE
public static final String NO_OP_MESSAGE
public static final String DISCARD_MESSAGE
public static final String REJECT_MESSAGE
public static final PublishingResponseDto REJECT
public static final PublishingResponseDto DISCARD
public static final PublishingResponseDto NO_OP
public static final PublishingResponseDto SUCCESS
public static final PublishingResponseDto DISABLED_ON_CLIENT
public final Boolean success
public final String message
public void assertSuccess()
public static final PublishingResponseDto error(String errorMessage)
public static final PublishingResponseDto error(Exception exception)
Copyright © 2009–2021. All rights reserved.