public class AS4MessageProcessorResult extends Object implements com.helger.commons.state.ISuccessIndicator
| Modifier | Constructor and Description |
|---|---|
protected |
AS4MessageProcessorResult(com.helger.commons.state.ESuccess eSuccess,
String sErrorMsg,
com.helger.commons.collection.impl.ICommonsList<com.helger.as4.attachment.WSS4JAttachment> aAttachments,
String sAsyncResponseURL) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllAttachmentsTo(Collection<com.helger.as4.attachment.WSS4JAttachment> aTarget) |
static AS4MessageProcessorResult |
createFailure(String sErrorMsg) |
static AS4MessageProcessorResult |
createSuccess() |
static AS4MessageProcessorResult |
createSuccess(com.helger.commons.collection.impl.ICommonsList<com.helger.as4.attachment.WSS4JAttachment> aAttachments,
String sAsyncResponseURL) |
com.helger.commons.collection.impl.ICommonsList<com.helger.as4.attachment.WSS4JAttachment> |
getAllAttachments() |
String |
getAsyncResponseURL() |
String |
getErrorMessage() |
boolean |
hasAsyncResponseURL() |
boolean |
hasAttachments() |
boolean |
isSuccess() |
String |
toString() |
public boolean isSuccess()
isSuccess in interface com.helger.commons.state.ISuccessIndicatorpublic boolean hasAttachments()
public void addAllAttachmentsTo(@Nonnull Collection<com.helger.as4.attachment.WSS4JAttachment> aTarget)
@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<com.helger.as4.attachment.WSS4JAttachment> getAllAttachments()
public boolean hasAsyncResponseURL()
@Nonnull public static AS4MessageProcessorResult createSuccess()
@Nonnull public static AS4MessageProcessorResult createSuccess(@Nullable com.helger.commons.collection.impl.ICommonsList<com.helger.as4.attachment.WSS4JAttachment> aAttachments, @Nullable String sAsyncResponseURL)
@Nonnull public static AS4MessageProcessorResult createFailure(@Nonnull String sErrorMsg)
Copyright © 2015–2019 Philip Helger. All rights reserved.