All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.opencredo.concursus.mapping.annotations.HandlesEvent Maven / Gradle / Ivy

The newest version!
package com.opencredo.concursus.mapping.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Annotation attached to event-handling methods.
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface HandlesEvent {
    /**
     * @return The name of the event handled by this method.
     */
    String value() default "";

    /**
     * @return The version of the event handled by this method.
     */
    String version() default "0";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy