LightJason - AgentSpeak(L++)
org.lightjason.agentspeak.action.builtin.TestCActionAgent Class Reference

test agent action More...

+ Inheritance diagram for org.lightjason.agentspeak.action.builtin.TestCActionAgent:
+ Collaboration diagram for org.lightjason.agentspeak.action.builtin.TestCActionAgent:

Classes

class  CAgent
 agent class More...
 
class  CEmptyPlan
 empty plan More...
 

Public Member Functions

final void addplan ()
 test add plan More...
 
final void belieflist ()
 test belieflist More...
 
final void clearbeliefbase ()
 test clear-beliefbase More...
 
final void cycletime ()
 test cycle-time More...
 
final void getplan ()
 test get plan More...
 
void initialize () throws Exception
 initialize More...
 
final void planlist ()
 test plan list More...
 
final void removeplan ()
 test remove plan More...
 
final void removeplanerror ()
 test remove plan error More...
 

Static Package Functions

 [static initializer]
 

Private Member Functions

IContext next ()
 execute agent cycle More...
 

Private Attributes

IContext m_context
 agent context More...
 

Additional Inherited Members

- Static Protected Attributes inherited from org.lightjason.agentspeak.IBaseTest
static final boolean PRINTENABLE = Files.exists( Paths.get( "agentprinting.conf" ) )
 enable printing of test-data More...
 

Detailed Description

Definition at line 75 of file TestCActionAgent.java.

Member Function Documentation

◆ [static initializer]()

org.lightjason.agentspeak.action.builtin.TestCActionAgent.[static initializer] ( )
staticpackage

◆ addplan()

◆ belieflist()

final void org.lightjason.agentspeak.action.builtin.TestCActionAgent.belieflist ( )

◆ clearbeliefbase()

final void org.lightjason.agentspeak.action.builtin.TestCActionAgent.clearbeliefbase ( )

◆ cycletime()

final void org.lightjason.agentspeak.action.builtin.TestCActionAgent.cycletime ( )

Definition at line 170 of file TestCActionAgent.java.

References org.lightjason.agentspeak.action.builtin.agent.CCycleTime.execute(), and org.lightjason.agentspeak.action.builtin.TestCActionAgent.next().

+ Here is the call graph for this function:

◆ getplan()

◆ initialize()

void org.lightjason.agentspeak.action.builtin.TestCActionAgent.initialize ( ) throws Exception
Exceptions
Exceptionon initialize error

Definition at line 96 of file TestCActionAgent.java.

References org.lightjason.agentspeak.language.instantiable.plan.trigger.ITrigger.EType.ADDGOAL, org.lightjason.agentspeak.language.instantiable.plan.trigger.CTrigger.from(), and org.lightjason.agentspeak.language.CLiteral.from().

+ Here is the call graph for this function:

◆ next()

IContext org.lightjason.agentspeak.action.builtin.TestCActionAgent.next ( )
private
Returns
execution context

Definition at line 318 of file TestCActionAgent.java.

References org.lightjason.agentspeak.language.execution.IContext.agent(), and org.lightjason.agentspeak.action.builtin.TestCActionAgent.m_context.

Referenced by org.lightjason.agentspeak.action.builtin.TestCActionAgent.cycletime().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ planlist()

◆ removeplan()

◆ removeplanerror()

final void org.lightjason.agentspeak.action.builtin.TestCActionAgent.removeplanerror ( )

Definition at line 243 of file TestCActionAgent.java.

References org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

Member Data Documentation

◆ m_context

IContext org.lightjason.agentspeak.action.builtin.TestCActionAgent.m_context
private