
de.tsl2.nano.bean.annotation.Action Maven / Gradle / Ivy
/*
* File: $HeadURL$
* Id : $Id$
*
* created by: Tom
* created on: 05.01.2016
*
* Copyright: (c) Thomas Schneider 2016, all rights reserved
*/
package de.tsl2.nano.bean.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import de.tsl2.nano.action.IAction;
/**
* To add an action to any bean. see {@link Constraint} to define the action arguments.
*
* @author Tom
* @version $Revision$
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Action {
String name() default "";
int mode() default IAction.MODE_UNDEFINED;
String[] argNames() default {};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy