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

lodsve.core.event.annotations.SyncEvent Maven / Gradle / Ivy

There is a newer version: 2.7.5-RELEASE
Show newest version
package lodsve.core.event.annotations;

import lodsve.core.event.module.BaseEvent;

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

/**
 * 同步事件.
 *
 * @author sunhao([email protected])
 * @version 1.0 2017/12/24 下午10:39
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface SyncEvent {
    /**
     * 事件中文名
     *
     * @return 事件中文名
     */
    String name();

    /**
     * 事件
     *
     * @return 事件
     */
    Class event();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy