io.tracee.contextlogger.contextprovider.api.TraceeContextProvider 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;
/**
* Annotation to mark classes that can be processed by a context toJson provider implementation
* ( for example the TraceeGenericGsonSerializer).
* Created by Tobias Gindler, holisticon AG on 14.03.14.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(value = { ElementType.TYPE })
public @interface TraceeContextProvider {
String displayName();
int order() default 100;
boolean suppressTypeInOutput() default false;
}