LightJason - AgentSpeak(L++)
org.lightjason.agentspeak.language.instantiable.plan.trigger.ITrigger.EType Enum Reference

event types More...

+ Collaboration diagram for org.lightjason.agentspeak.language.instantiable.plan.trigger.ITrigger.EType:

Public Member Functions

 EType (final String p_name)
 ctor More...
 
final String sequence ()
 returns the trigger sequence More...
 
String toString ()
 

Static Public Member Functions

static EType from ( @Nonnull final String p_sequence)
 returns a trigger type by the char sequence More...
 

Public Attributes

 ADDBELIEF =( "+" )
 
 ADDGOAL =( "+!" )
 
 DELETEBELIEF =( "-" )
 
 DELETEGOAL =( "-!" )
 
 EMPTY =( "" )
 

Private Attributes

final String m_name
 text name of the enum More...
 

Static Private Attributes

static final Map< String, ETypeELEMENTS
 math with elements for intantiation More...
 

Detailed Description

Definition at line 145 of file ITrigger.java.

Constructor & Destructor Documentation

◆ EType()

org.lightjason.agentspeak.language.instantiable.plan.trigger.ITrigger.EType.EType ( final String  p_name)
Parameters
p_nametext name

Definition at line 171 of file ITrigger.java.

Member Function Documentation

◆ from()

static EType org.lightjason.agentspeak.language.instantiable.plan.trigger.ITrigger.EType.from ( @Nonnull final String  p_sequence)
static
Parameters
p_sequencesequence
Returns
trigger type

Definition at line 197 of file ITrigger.java.

References org.lightjason.agentspeak.common.CCommon.languagestring().

Referenced by org.lightjason.agentspeak.action.builtin.agent.CRemovePlan.execute(), and org.lightjason.agentspeak.action.builtin.agent.CGetPlan.execute().

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

◆ sequence()

final String org.lightjason.agentspeak.language.instantiable.plan.trigger.ITrigger.EType.sequence ( )
Returns
trigger sequence string

Definition at line 187 of file ITrigger.java.

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

+ Here is the caller graph for this function:

◆ toString()

String org.lightjason.agentspeak.language.instantiable.plan.trigger.ITrigger.EType.toString ( )

Definition at line 177 of file ITrigger.java.

Member Data Documentation

◆ ADDBELIEF

◆ ADDGOAL

◆ DELETEBELIEF

◆ DELETEGOAL

◆ ELEMENTS

static final Map<String, EType> org.lightjason.agentspeak.language.instantiable.plan.trigger.ITrigger.EType.ELEMENTS
staticprivate
Initial value:
= Collections.unmodifiableMap(
Arrays.stream( EType.values() )
.collect( Collectors.toMap( EType::sequence, i -> i ) )
)

Definition at line 156 of file ITrigger.java.

◆ EMPTY

org.lightjason.agentspeak.language.instantiable.plan.trigger.ITrigger.EType.EMPTY =( "" )

Definition at line 151 of file ITrigger.java.

◆ m_name

final String org.lightjason.agentspeak.language.instantiable.plan.trigger.ITrigger.EType.m_name
private

Definition at line 164 of file ITrigger.java.