org.javers.spring.annotation.JaversAuditable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javers-spring Show documentation
Show all versions of javers-spring Show documentation
JaVers object auditing and diff framework
package org.javers.spring.annotation;
import org.javers.core.Javers;
import org.javers.spring.auditable.aspect.JaversAuditableAspect;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Enables auto-audit when put on a method (typically on a method in a Repository)
*
*
* Triggers {@link Javers#commit(String, Object)} for each method argument.
*
* @see JaversAuditableAspect
* @author Pawel Szymczyk
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface JaversAuditable {
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy