All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jadex.micro.annotation.AgentArgument Maven / Gradle / Ivy

Go to download

The Jadex micro kernel provides a lightweight and very efficient kernel for minimal agents with an extremely low memory footprint. Micro agents have a simple internal architecture that is similar to active objects. They are programmed as Java objects overriding a framework class, which has predefined methods for the setup, termination, execution logic as well as message receipt.

There is a newer version: 4.0.267
Show newest version
package jadex.micro.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 *  Marker for agent argument field.
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface AgentArgument
{
	/**
	 *  The argument name.
	 *  Is optional. If not set the field name
	 *  must correspond to the argument name.
	 */
	public String value() default "";
	
	/**
	 *  The argument conversion expression.
	 *  
	 *  The coversion expression can refer to the 
	 *  originally provided value by using the reserved
	 *  variable $value.
	 *  
	 *  Is optional. 
	 */
	public String convert() default "";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy