
org.hibernate.envers.strategy.spi.AuditStrategyContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-envers Show documentation
Show all versions of hibernate-envers Show documentation
Hibernate's entity version (audit/history) support
The newest version!
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright Red Hat Inc. and Hibernate Authors
*/
package org.hibernate.envers.strategy.spi;
import org.hibernate.Incubating;
import org.hibernate.property.access.spi.Getter;
/**
* A contract to initialize an {@link AuditStrategy}
*
* @author Chris Cranford
*/
@Incubating
public interface AuditStrategyContext {
/**
* Get the revision entity class name
* @return the class name of the revision entity
*/
Class> getRevisionInfoClass();
/**
* Get the revision info timestamp accessor
* @return the getter for the timestamp attribute on the revision entity
*/
Getter getRevisionInfoTimestampAccessor();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy