public class MTrigger extends Object
Constructor and Description |
---|
MTrigger()
Create a new trigger.
|
Modifier and Type | Method and Description |
---|---|
void |
addFactAdded(String fact)
Add a fact added belief trigger.
|
void |
addFactChangeds(String fact)
Add a fact changed belief trigger.
|
void |
addFactRemoved(String fact)
Add a fact removed belief trigger.
|
void |
addGoal(MGoal goal)
Add a goal trigger.
|
void |
addGoalFinished(MGoal goal)
Add a goal finished trigger.
|
void |
addService(MServiceCall service)
Add a service trigger.
|
List<String> |
getFactAddeds()
Get the fact added triggers (belief set names).
|
List<String> |
getFactChangeds()
Get the fact changeds triggers (belief set names).
|
List<String> |
getFactRemoveds()
Get the fact removed triggers (belief set names).
|
List<MGoal> |
getGoalFinisheds()
Get the goalfinisheds.
|
List<MGoal> |
getGoals()
Get the goals.
|
List<MServiceCall> |
getServices()
Get the fact service calls.
|
public void addGoal(MGoal goal)
public List<MGoal> getGoalFinisheds()
public void addGoalFinished(MGoal goal)
public void addFactAdded(String fact)
public void addFactRemoved(String fact)
public void addFactChangeds(String fact)
public List<String> getFactRemoveds()
public List<String> getFactChangeds()
public void addService(MServiceCall service)
public List<MServiceCall> getServices()
Copyright © 2015. All Rights Reserved.