
artoria.event.annotation.ApiRecord Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of artoria-extend Show documentation
Show all versions of artoria-extend Show documentation
Artoria is a java technology framework based on the facade pattern.
The newest version!
package artoria.event.annotation;
import java.lang.annotation.*;
/**
* Record API access information and print parameters logs.
* @author Kahle
*/
@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface ApiRecord {
/**
* The name of the API.
* @return The name
*/
String name();
/**
* Whether to record the input parameters.
* @return True or false
*/
boolean input() default true;
/**
* Whether to record the output result.
* @return True or false
*/
boolean output() default false;
/**
* Whether to print parameters logs.
* @return True or false
*/
boolean print() default true;
/**
* Whether to print more information.
* @return True or false
*/
boolean more() default false;
/**
* Whether to record the corresponding data.
* @return True or false
*/
boolean record() default true;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy