Class DefaultSendToDataHubResult
java.lang.Object
de.hybris.platform.sap.orderexchange.outbound.impl.DefaultSendToDataHubResult
- All Implemented Interfaces:
SendToDataHubResult
Container for the Result of the Datahub sending process
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SendToDataHubResultstatic final SendToDataHubResultstatic final SendToDataHubResultFields inherited from interface de.hybris.platform.sap.orderexchange.outbound.SendToDataHubResult
SENDING_FAILED_CODE -
Constructor Summary
ConstructorsConstructorDescriptionDefaultSendToDataHubResult(int errorCode, String errorText) DefaultSendToDataHubResult(org.springframework.http.HttpStatus httpStatus, String errorText) -
Method Summary
-
Field Details
-
OKAY
-
SENDING_FAILED
-
MESSAGE_HANDLING_ERROR
-
-
Constructor Details
-
DefaultSendToDataHubResult
-
DefaultSendToDataHubResult
-
-
Method Details
-
isSuccess
public boolean isSuccess()- Specified by:
isSuccessin interfaceSendToDataHubResult- Returns:
- true if sending was successful
-
getErrorCode
public int getErrorCode()- Specified by:
getErrorCodein interfaceSendToDataHubResult
-
getErrorText
- Specified by:
getErrorTextin interfaceSendToDataHubResult
-
toString
-