com.appland.appmap.transform.annotations.HookCondition 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 com.appland.appmap.process.conditions.Condition;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Code matching this {@link Condition} will be hooked.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE})
public @interface HookCondition {
/**
* @return A class implementing {@link Condition}
*/
public Class extends Condition> value() default Condition.class;
public MethodEvent methodEvent() default MethodEvent.METHOD_INVOCATION;
}