Package org.frankframework.core
Class SenderResult
java.lang.Object
org.frankframework.core.SenderResult
- All Implemented Interfaces:
AutoCloseable
The SenderResult is a type to store both the result of the processing of a message by a Sender,
as well as the exitState.
-
Constructor Summary
ConstructorDescriptionSenderResult
(boolean success, Message result, String errorMessage, String forwardName) SenderResult
(String result) SenderResult
(Message result) SenderResult
(Message result, String errorMessage) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
boolean
void
setErrorMessage
(String errorMessage) void
setForwardName
(String forwardName) void
void
setSuccess
(boolean success)
-
Constructor Details
-
SenderResult
-
SenderResult
-
SenderResult
-
SenderResult
-
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
isSuccess
public boolean isSuccess() -
setSuccess
public void setSuccess(boolean success) -
getResult
-
setResult
-
getErrorMessage
-
setErrorMessage
-
getForwardName
-
setForwardName
-