io.ebeaninternal.server.changelog.DefaultChangeLogPrepare Maven / Gradle / Ivy
package io.ebeaninternal.server.changelog;
import io.ebean.event.changelog.ChangeLogPrepare;
import io.ebean.event.changelog.ChangeSet;
/**
* Placeholder/default implementation that does not do anything.
*
* Generally an implementation should be provided that reads context
* information such as user id and user ip address etc and sets that
* on the changeSet.
*
*/
public final class DefaultChangeLogPrepare implements ChangeLogPrepare {
/**
* Just return true to send change set through to the logger.
*/
@Override
public boolean prepare(ChangeSet changeSet) {
return true;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy