LightJason - AgentSpeak(L++)
org.lightjason.agentspeak.language.execution.action.achievement_test.CTestGoal Class Reference

test-goal action More...

+ Inheritance diagram for org.lightjason.agentspeak.language.execution.action.achievement_test.CTestGoal:
+ Collaboration diagram for org.lightjason.agentspeak.language.execution.action.achievement_test.CTestGoal:

Public Member Functions

 CTestGoal ( @Nonnull final IPath p_value)
 ctor More...
 
final IFuzzyValue< Boolean > execute (final boolean p_parallel, @Nonnull final IContext p_context, @Nonnull final List< ITerm > p_argument, @Nonnull final List< ITerm > p_return)
 defines a plan-body operation More...
 
final String toString ()
 
- Public Member Functions inherited from org.lightjason.agentspeak.language.execution.action.IBaseExecution< T >
final T getValue ()
 returns the value of the action More...
 
final boolean isValueAssignableTo (final Class<?> p_class)
 checkes assinable of the value More...
 
String toString ()
 
Stream< IVariable<?> > variables ()
 returns a stream with all used variables More...
 

Static Private Attributes

static final long serialVersionUID = 6199668040937864138L
 serial id More...
 

Additional Inherited Members

- Protected Member Functions inherited from org.lightjason.agentspeak.language.execution.action.IBaseExecution< T >
 IBaseExecution ( @Nullable final T p_value)
 ctor More...
 
- Protected Attributes inherited from org.lightjason.agentspeak.language.execution.action.IBaseExecution< T >
final T m_value
 data More...
 
- Package Functions inherited from org.lightjason.agentspeak.language.execution.action.achievement_test.ITest
 ITest ( @Nonnull final IPath p_value)
 ctor More...
 

Detailed Description

Definition at line 40 of file CTestGoal.java.

Constructor & Destructor Documentation

◆ CTestGoal()

org.lightjason.agentspeak.language.execution.action.achievement_test.CTestGoal.CTestGoal ( @Nonnull final IPath  p_value)
Parameters
p_valueatom

Definition at line 52 of file CTestGoal.java.

Member Function Documentation

◆ execute()

final IFuzzyValue<Boolean> org.lightjason.agentspeak.language.execution.action.achievement_test.CTestGoal.execute ( final boolean  p_parallel,
@Nonnull final IContext  p_context,
@Nonnull final List< ITerm p_argument,
@Nonnull final List< ITerm p_return 
)
Parameters
p_parallelparallel execution
p_contextcurrent execution context
p_argumentparameter of the action
p_returnreturn values
Returns
fuzzy boolean

Implements org.lightjason.agentspeak.language.execution.IExecution.

Definition at line 65 of file CTestGoal.java.

References org.lightjason.agentspeak.language.fuzzy.CFuzzyValue< T >.from(), and org.lightjason.agentspeak.language.execution.action.IBaseExecution< T >.m_value.

+ Here is the call graph for this function:

◆ toString()

final String org.lightjason.agentspeak.language.execution.action.achievement_test.CTestGoal.toString ( )

Member Data Documentation

◆ serialVersionUID

final long org.lightjason.agentspeak.language.execution.action.achievement_test.CTestGoal.serialVersionUID = 6199668040937864138L
staticprivate

Definition at line 45 of file CTestGoal.java.