1 // Copyright (c) 2003-2007, Jodd Team (jodd.sf.net). All Rights Reserved. 2 3 package jodd.madvoc.meta; 4 5 import java.lang.annotation.*; 6 7 /** 8 * Marker for action methods. It is not neccessary to mark a method, however, this annotation 9 * may be used to specify non-default action path. 10 */ 11 @Documented 12 @Retention(RetentionPolicy.RUNTIME) 13 @Target({ElementType.METHOD}) 14 public @interface Action { 15 16 /** 17 * Action path value. 18 */ 19 public String value() default ""; 20 21 /** 22 * Annotation value for public class methods that should be ignored as actions. 23 */ 24 public static final String IGNORE = ".ignore"; 25 }