Uses of Interface
dev.agenor.core.Behavior
Packages that use Behavior
Package
Description
-
Uses of Behavior in dev.agenor.core
Methods in dev.agenor.core with parameters of type BehaviorModifier and TypeMethodDescriptionvoidAgent.addBehavior(Behavior behavior) Adds a behavior to this agent's behavior set.Schedules a behavior for execution according to its type and configuration. -
Uses of Behavior in dev.agenor.core.composite
Classes in dev.agenor.core.composite that implement BehaviorModifier and TypeClassDescriptionclassBase class for behaviors that coordinate other behaviors.Fields in dev.agenor.core.composite with type parameters of type BehaviorModifier and TypeFieldDescriptionCompositeBehavior.childBehaviorsOrdered list of child behaviors managed by this composite.Methods in dev.agenor.core.composite that return types with arguments of type BehaviorModifier and TypeMethodDescriptionCompositeBehavior.getChildBehaviors()Returns an immutable view of the registered child behaviors in insertion order.Methods in dev.agenor.core.composite with parameters of type BehaviorModifier and TypeMethodDescriptionvoidCompositeBehavior.addChildBehavior(Behavior behavior) Adds a child behavior to this composite. -
Uses of Behavior in dev.agenor.core.spi
Methods in dev.agenor.core.spi that return BehaviorModifier and TypeMethodDescriptionBehaviorAnnotationExtension.createBehavior(Agent agent, Method method, Behavior annotation) Builds the behavior for a@Behavior-annotated method whose type this extensionBehaviorAnnotationExtension.supports(BehaviorType). -
Uses of Behavior in dev.agenor.runtime.agent
Methods in dev.agenor.runtime.agent that return types with arguments of type BehaviorModifier and TypeMethodDescriptionBaseAgent.getBehaviors()Returns a snapshot of all behaviors currently registered on this agent.Methods in dev.agenor.runtime.agent with parameters of type Behavior -
Uses of Behavior in dev.agenor.runtime.behavior
Classes in dev.agenor.runtime.behavior that implement BehaviorModifier and TypeClassDescriptionclassBase implementation of Behavior interface.classBehavior that executes repeatedly at fixed intervals.classBehavior that executes once and then stops. -
Uses of Behavior in dev.agenor.runtime.behavior.advanced
Classes in dev.agenor.runtime.behavior.advanced that implement BehaviorModifier and TypeClassDescriptionclassA ONE_SHOT behavior that suspends execution until a human approves, rejects, or modifies the wrapped critical action.Methods in dev.agenor.runtime.behavior.advanced that return BehaviorModifier and TypeMethodDescriptionExtBehaviorAnnotationExtension.createBehavior(Agent agent, Method method, Behavior annotation) -
Uses of Behavior in dev.agenor.runtime.behavior.composite
Classes in dev.agenor.runtime.behavior.composite that implement BehaviorModifier and TypeClassDescriptionclassFinite State Machine behavior with state transitions.classExecutes multiple child behaviors in parallel using virtual threads.classExecutes child behaviors sequentially, one after another.Methods in dev.agenor.runtime.behavior.composite with parameters of type BehaviorModifier and TypeMethodDescriptionAdd a state to the FSMFSMBehavior.addTransition(String fromState, String toState, Predicate<FSMBehavior> condition, String transitionName, Behavior transitionAction) Add a transition with an action to execute during transitionFSMBehavior.Builder.transition(String from, String to, Predicate<FSMBehavior> condition, String name, Behavior action) -
Uses of Behavior in dev.agenor.runtime.scheduler
Methods in dev.agenor.runtime.scheduler with parameters of type BehaviorModifier and TypeMethodDescription