package com.vci.starter.web.annotation;
|
|
import java.lang.annotation.ElementType;
|
import java.lang.annotation.Retention;
|
import java.lang.annotation.RetentionPolicy;
|
import java.lang.annotation.Target;
|
|
/**
|
* 生命周期状态流向
|
* @author weidy
|
*/
|
@Target({ElementType.TYPE, ElementType.FIELD})
|
@Retention(RetentionPolicy.RUNTIME)
|
public @interface VciLifeCycleTrans {
|
|
/**
|
* 起始状态
|
* @return
|
*/
|
String source() default "";
|
|
/**
|
* 目标状态
|
* @return
|
*/
|
String target() default "";
|
|
/**
|
* 名称
|
* @return
|
*/
|
String name() ;
|
|
/**
|
* 所需事件
|
* @return
|
*/
|
VciLifeCycleTranEvent[] listeners() default @VciLifeCycleTranEvent(classFullName = "",showName = "");
|
|
|
}
|