com.talk2object.plum.interaction.view.annotation.Interaction Maven / Gradle / Ivy
package com.talk2object.plum.interaction.view.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import com.talk2object.plum.interaction.generic.GenericSingleMethodInteraction;
/**
* set a class for interaction procedure.
*
* @author jack
*
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Interaction {
Class clazz() default GenericSingleMethodInteraction.class;
/**
* the lower the first.
*
* @return
*/
int index() default 0;
String name() default "";
/**
* may be used by menu.
*
* @return
*/
String category() default "";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy