| 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.
|
| cz.cuni.amis.pogamut.sposh.exceptions |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IConditionElement<CONDITION_OWNER extends PoshElement>
Interface for elements that use condition: either goal or trigger.
|
class |
PoshDummyElement<THIS extends PoshElement,PARENT extends PoshElement>
This is class used as intermediate class between PoshElement and DataNodes of
POSH elements.
|
class |
PoshDummyElement<THIS extends PoshElement,PARENT extends PoshElement>
This is class used as intermediate class between PoshElement and DataNodes of
POSH elements.
|
class |
PoshElement<T extends PoshElement,PARENT extends PoshElement>
Base class for each element of Yaposh plan.
|
class |
PoshElement<T extends PoshElement,PARENT extends PoshElement>
Base class for each element of Yaposh plan.
|
interface |
PoshElementListener<PARENT extends PoshElement>
Mainly for widgets.
|
class |
Trigger<OWNER extends PoshElement>
Trigger of an element.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ActionPattern
AP is a named sequence of
actions. |
class |
Adopt
Adopt element is a stopgap.
|
class |
Competence
Competence is basically a named structure offering several
choices. |
class |
CompetenceElement
CompetenceElement is basically one of choices of the
Competence. |
class |
DriveCollection
This is root of POSH plan in execution sense.
|
class |
DriveElement
Drive is a child of
DriveCollection. |
class |
PoshDummyElement<THIS extends PoshElement,PARENT extends PoshElement>
This is class used as intermediate class between PoshElement and DataNodes of
POSH elements.
|
class |
PoshPlan
Root node of whole lap plan, contains
DriveCollection, all Competence
and ActionPattern + optional documentation. |
class |
Sense
Sense is a condition consisting from primitive call, predicate and value.
|
class |
TriggeredAction
Triggered action is basically a call of some other entity that is supposed to
be executed.
|
| Modifier and Type | Method and Description |
|---|---|
<REFERENCE extends PoshElement & IReferenceElement> |
LapChain.derive(REFERENCE reference)
Create and return new chain using this one as the base.
|
<REFERENCED_NODE extends PoshElement & IParametrizedElement> |
LapChain.derive(TriggeredAction action,
REFERENCED_NODE referencedNode)
Return new chain using this one as the base and create new link from the
reference of action to AP.
|
protected <ELEMENT extends PoshElement & INamedElement> |
PoshDummyElement.getElementId(List<ELEMENT> elements,
ELEMENT element)
Get index of @element in all @elements.
|
protected <T extends PoshElement> |
PoshDummyElement.moveChildInList(List<T> list,
T child,
int newIndex)
Take the @list of elements and one @child of the @list.
|
<T extends PoshElement> |
LapPath.traversePath(PoshPlan plan)
Methods with name traverseXYZ mean traverse from XYZ below xyzLink means
gor from xyz below according to type and id.
|
| Modifier and Type | Method and Description |
|---|---|
List<PoshElement> |
TriggeredAction.getChildDataNodes() |
List<PoshElement> |
Sense.getChildDataNodes() |
List<PoshElement> |
PoshPlan.getChildDataNodes() |
abstract List<? extends PoshElement> |
PoshElement.getChildDataNodes()
Get list of children of this node.
|
List<PoshElement> |
DriveElement.getChildDataNodes() |
List<PoshElement> |
DriveCollection.getChildDataNodes()
Get all child nodes of the DC.
|
List<PoshElement> |
CompetenceElement.getChildDataNodes() |
List<? extends PoshElement> |
Adopt.getChildDataNodes() |
List<? extends PoshElement> |
PoshElement.getChildren(LapType selectType)
Get all children of this element that have @selectType.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
PoshElement.emitChildDeleted(PoshElement child,
int removedChildPosition)
Tell all listeners that a child of this element has been deleted.
|
protected void |
PoshElement.emitChildMove(PoshElement childNode,
int oldIndex,
int newIndex)
Notify all listeners (associated Widgets) that one child of this node has
changed order(position).
|
protected void |
PoshElement.emitChildNode(PoshElement emitedChild)
Notify all listeners (mostly associated Widgets) that this dataNode has a
new child.
|
int |
PoshElement.getChildId(PoshElement child)
Get index of a @child.
|
static LapPath |
LapPath.getLinkPath(PoshElement endElement)
Construct path from the @endElement to its very first branch node(DC, AD,
AP, C) upward in the tree.
|
void |
PoshElementListener.childElementAdded(PARENT parent,
PoshElement child)
Event handler will be notified that parent has added a new child among
its children.
|
void |
LapChain.childElementAdded(PoshElement parent,
PoshElement child) |
void |
LapChain.childElementAdded(PoshElement parent,
PoshElement child) |
void |
PoshElementListener.childElementMoved(PARENT parent,
PoshElement child,
int oldIndex,
int newIndex)
Evenet handler will be notified that parent has moved a child.
|
void |
LapChain.childElementMoved(PoshElement parent,
PoshElement child,
int oldIndex,
int newIndex) |
void |
LapChain.childElementMoved(PoshElement parent,
PoshElement child,
int oldIndex,
int newIndex) |
void |
PoshElementListener.childElementRemoved(PARENT parent,
PoshElement child,
int removedChildPosition)
Event handler will be notified when parent has removed child.
|
void |
LapChain.childElementRemoved(PoshElement parent,
PoshElement child,
int removedChildPosition) |
void |
LapChain.childElementRemoved(PoshElement parent,
PoshElement child,
int removedChildPosition) |
boolean |
TriggeredAction.moveChild(int newIndex,
PoshElement child) |
boolean |
Sense.moveChild(int newIndex,
PoshElement child) |
boolean |
PoshPlan.moveChild(int newIndex,
PoshElement child) |
abstract boolean |
PoshElement.moveChild(int newIndex,
PoshElement child)
Move child to the @newIndex.
|
boolean |
DriveElement.moveChild(int newIndex,
PoshElement child) |
boolean |
DriveCollection.moveChild(int newIndex,
PoshElement child) |
boolean |
CompetenceElement.moveChild(int newIndex,
PoshElement child) |
boolean |
Competence.moveChild(int newIndex,
PoshElement child) |
boolean |
Adopt.moveChild(int newIndex,
PoshElement child) |
boolean |
ActionPattern.moveChild(int newIndex,
PoshElement child) |
| Modifier and Type | Method and Description |
|---|---|
static UnexpectedElementException |
UnexpectedElementException.create(PoshElement element)
Create new unexpected element exception, caller got unexpected
PoshElement. |
Copyright © 2018 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All rights reserved.