| Package | Description |
|---|---|
| cz.cuni.amis.pogamut.sposh.elements |
This package contains parser for Yaposh plan, classes that represent
elements of the plan and some auxiliry classes.
|
| Modifier and Type | Method and Description |
|---|---|
ActionPattern |
PoshParser.actionPattern()
action-pattern ::= AP NAME ( NIL | "("
|
static ActionPattern |
LapElementsFactory.createActionPattern(ActionPattern ap)
Create an AP with same structure as passed ap (only structure, no
listeners or shared objects).
|
static ActionPattern |
LapElementsFactory.createActionPattern(String name)
Create new action pattern without parameters and one
default
action. |
static ActionPattern |
LapElementsFactory.createActionPattern(String name,
FormalParameters params)
Create empty action pattern with specified name and parameters, but
without any actions in it.
|
static ActionPattern |
LapElementsFactory.createActionPattern(String name,
FormalParameters params,
List<TriggeredAction> actions)
Create action pattern
|
static ActionPattern |
LapElementsFactory.createActionPattern(String name,
TriggeredAction... actions)
Create new action pattern without parameters and containing passed
actions.
|
ActionPattern |
PoshPlan.getActionPattern(int id)
Get action pattern with id, equivalent of
PoshPlan.getActionPatterns(). |
ActionPattern |
PoshPlan.getAP(String name)
Return action pattern from the plan with specified name.
|
| Modifier and Type | Method and Description |
|---|---|
List<ActionPattern> |
PoshPlan.getActionPatterns()
Get list of all APs in the plan.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PoshParser.actionPatternElements(ActionPattern ap,
FormalParameters formalParameters)
process actions of the AP and add them into the passed ap.
|
void |
PoshPlan.addActionPattern(ActionPattern actionPattern)
Add new AP to the lap plan (add, emit)
|
static ActionPattern |
LapElementsFactory.createActionPattern(ActionPattern ap)
Create an AP with same structure as passed ap (only structure, no
listeners or shared objects).
|
int |
PoshPlan.getActionPatternId(ActionPattern actionPattern)
Get id of AP.
|
void |
PoshPlan.removeActionPattern(ActionPattern ap)
Remove action pattern from the plan and notify listeners of plan about
removal of a child.
|
Copyright © 2018 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All rights reserved.