io.tracee.contextlogger.contextprovider.api.TraceeContextProviderMethod Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of contextprovider-api Show documentation
Show all versions of contextprovider-api Show documentation
Please refer to https://github.com/tracee/contextlogger.
package io.tracee.contextlogger.contextprovider.api;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* This annotation is used to mark methods that provide context information for context logging.
* This annotation must reside in classes that are annotated with the
* {@link TraceeContextProvider} annotation.
*
* Created by Tobias Gindler, holisticon AG on 14.03.14.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.METHOD})
public @interface TraceeContextProviderMethod {
String displayName();
boolean enabledPerDefault() default false;
int order() default 0;
}