
jadex.micro.annotation.AgentArgument Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-kernel-micro Show documentation
Show all versions of jadex-kernel-micro Show documentation
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.
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