@Retention(value=RUNTIME) @Target(value={TYPE,METHOD}) public @interface EventName
Provides the event name for an analytics event.
If it is specified on a method, the method will be invoked to determine the name of the event. This provides a way to dynamically calculate the name of the event.
Only methods with zero parameters are supported.
If there are more than one, the first one that has this annotation from the array returns by
Class.getMethods() will be used.
If it is specified on a class, the value will be taken as the name of the event. This provides a quick way to specific a static name for the event.
public abstract String value
Copyright © 2016 Atlassian. All rights reserved.