com.zandero.rest.annotations.RestEvents Maven / Gradle / Ivy
package com.zandero.rest.annotations;
import java.lang.annotation.*;
/**
* List of events
*
* Example:
* RestEvents({
* RestEvent(processor = Processor.class),
* RestEvent(processor = SecondProcessor.class)
* })
*/
@Documented
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface RestEvents {
/**
* Array of events to be triggered
* @return array of RestEvents
*/
RestEvent[] value() default {};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy