com.appland.appmap.transform.annotations.Unique Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of appmap-agent Show documentation
Show all versions of appmap-agent Show documentation
Inspect and record the execution of Java for use with App Land
package com.appland.appmap.transform.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE})
public @interface Unique {
/**
* Applies a unique key restraint on this hook. A call stack can, at most, contain a single
* {@link com.appland.appmap.output.v1.Event} for each unique key. Without a unique key, no restrictions are applied.
* @return The unique key
*/
String value() default "";
}