@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface ActivityMethod
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
name
Represents the name of the Activity type.
|
public abstract java.lang.String name
ActivityInterface.namePrefix()
. The prefix is
ignored if the name is specified.
Be careful with names that contain special characters, as these names can be used as metric tags. Systems like Prometheus ignore metrics which have tags with unsupported characters.