All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.infilos.spring.track.api.AuditAttri Maven / Gradle / Ivy

There is a newer version: 2.7.18-0
Show newest version
package com.infilos.spring.track.api;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({})
@Retention(RetentionPolicy.RUNTIME)
public @interface AuditAttri {
    /**
     * Define where to extract this attribute's value.
     */
    Audit from() default Audit.Nowhere;

    /**
     * Define attribute's source name.
     */
    String name() default "";

    /**
     * Define attribute's source json-path, used when from() is json structure.
     */
    String locate() default "";

    /**
     * Define attribute's constant value, used when from() is Audit.Constant. Define attribute's
     * default value, used when extract failed by name/locate.
     */
    String value() default "";

    /**
     * Define attribute's target name when the value used for tags or transfer. Or use name() as
     * default.
     */
    String alias() default "";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy