Class SystemErrorOutboundSyncEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
de.hybris.platform.servicelayer.event.events.AbstractEvent
de.hybris.platform.outboundsync.events.OutboundSyncEvent
de.hybris.platform.outboundsync.events.ItemGroupOutboundSyncEvent
de.hybris.platform.outboundsync.events.SystemErrorOutboundSyncEvent
- All Implemented Interfaces:
Serializable
Event is triggered after a systemic error occurred. This event signals the processing of more
items should be stopped. There is a systemic error, and there is no reason to continue.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSystemErrorOutboundSyncEvent(@NotNull PK cronJobPk, int changesCnt) Instantiates this eventSystemErrorOutboundSyncEvent(@NotNull PK cronJobPk, OutboundItemDTOGroup group) Instantiates this eventSystemErrorOutboundSyncEvent(@NotNull PK cronJobPk, Collection<OutboundItemDTOGroup> groups) Instantiates this event -
Method Summary
Methods inherited from class de.hybris.platform.outboundsync.events.ItemGroupOutboundSyncEvent
getGroupItemPKsMethods inherited from class de.hybris.platform.outboundsync.events.OutboundSyncEvent
getCronJobPkMethods inherited from class de.hybris.platform.servicelayer.event.events.AbstractEvent
getScope, getSource, isFromCluster, setFromCluster, setScopeMethods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
-
Constructor Details
-
SystemErrorOutboundSyncEvent
Instantiates this event- Parameters:
cronJobPk- primary key of the job that was aborted.changesCnt- number of changes processed by the job for the context item ignored during synchronization.
-
SystemErrorOutboundSyncEvent
Instantiates this event- Parameters:
cronJobPk- primary key of the job that was aborted.group- changed items being reported by this event
-
SystemErrorOutboundSyncEvent
public SystemErrorOutboundSyncEvent(@NotNull @NotNull PK cronJobPk, Collection<OutboundItemDTOGroup> groups) Instantiates this event- Parameters:
cronJobPk- primary key of the job that was aborted.groups- list of changed items being reported by this event
-
-
Method Details
-
getChangesProcessed
public int getChangesProcessed()Retrieves number of changes related to the item ignored.- Returns:
- number of changes related to the item ignored. At a minimum this value is expected to be 1, but the number can be greater when multiple items related to the item being synchronized changed. For example, if Customer is being synchronized because two of its Addresses changed, this value will be 2.
-
equals
- Overrides:
equalsin classOutboundSyncEvent
-
hashCode
public int hashCode()- Overrides:
hashCodein classOutboundSyncEvent
-
toString
- Overrides:
toStringin classAbstractEvent
-