public void process(ChangeContainer changeContainer) {
// If this is not the first entity in the pipeline, make sure this
// entity is greater than the previous.
if (previousChangeContainer != null) {
if (comparator.compare(previousChangeContainer, changeContainer) >= 0) {
throw new OsmosisRuntimeException(
"Pipeline entities are not sorted or contain multiple versions of a single entity"
+ ", previous entity type=" + previousChangeContainer.getEntityContainer().getEntity().getType()
+ ", id=" + previousChangeContainer.getEntityContainer().getEntity().getId()
+ ", version=" + previousChangeContainer.getEntityContainer().getEntity().getVersion()
+ " current entity type=" + changeContainer.getEntityContainer().getEntity().getType()