Package de.hybris.platform.cronjob.jalo
Class ChangeEvent
java.lang.Object
de.hybris.platform.cronjob.jalo.ChangeEvent
- All Implemented Interfaces:
Serializable
The
ChangeEvent is fired each time a new ChangeDescriptor is instanciated. It offers access
to the description of the change and the changed Item.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionChangeEvent(ChangeDescriptor descriptor) Creates a newChangeEventfor the specifiedChangeDescriptor. -
Method Summary
Modifier and TypeMethodDescriptionReturns theItem, which was modified.getTopic()Returns the topic of theChangeEvent.
-
Constructor Details
-
ChangeEvent
Creates a newChangeEventfor the specifiedChangeDescriptor.- Parameters:
descriptor- theChangeDescriptor
-
-
Method Details
-
getTopic
Returns the topic of theChangeEvent. (Which equivalent to the changetype of theChangeDescriptor;GeneratedChangeDescriptor.getChangeType()).- Returns:
- Returns the topic of the
ChangeEvent
-
getChangedItem
Returns theItem, which was modified. This method can returnnull, since not always a change is related to aItem.- Returns:
- Returns the
Item, which was modified.
-