|
Jadex 0.941 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The goalbase behaviour interface.
Field Summary | |
static String |
DUMMY_GOAL
The constant for defining the dummy goal. |
Method Summary | |
IMAchieveGoal |
createAchieveGoal(String name,
boolean exported,
boolean retry,
long retrydelay,
String exclude)
Create an achieve goal. |
IMAchieveGoalReference |
createAchieveGoalReference(String name,
boolean exported,
String ref)
Create an achieve goal reference. |
IMMaintainGoal |
createMaintainGoal(String name,
boolean exported,
boolean retry,
long retrydelay,
String exclude,
boolean recur,
long recurdelay)
Create a maintain goal. |
IMMaintainGoalReference |
createMaintainGoalReference(String name,
boolean exported,
String ref)
Create an maintain goal reference. |
IMMetaGoal |
createMetaGoal(String name,
boolean exported,
boolean retry,
long retrydelay,
String exclude)
Create a meta goal. |
IMMetaGoalReference |
createMetaGoalReference(String name,
boolean exported,
String ref)
Create a meta goal reference. |
IMPerformGoal |
createPerformGoal(String name,
boolean exported,
boolean retry,
long retrydelay,
String exclude)
Create a perform goal. |
IMPerformGoalReference |
createPerformGoalReference(String name,
boolean exported,
String ref)
Create a perform goal reference. |
IMQueryGoal |
createQueryGoal(String name,
boolean exported,
boolean retry,
long retrydelay,
String exclude)
Create a query goal. |
IMQueryGoalReference |
createQueryGoalReference(String name,
boolean exported,
String ref)
Create a query goal reference. |
void |
deleteAchieveGoal(IMAchieveGoal goal)
Delete an achieve goal. |
void |
deleteAchieveGoalReference(IMAchieveGoalReference goal)
Delete an achieve goal reference. |
void |
deleteMaintainGoal(IMMaintainGoal goal)
Delete a maintain goal. |
void |
deleteMaintainGoalReference(IMMaintainGoalReference goal)
Delete an maintain goal reference. |
void |
deleteMetaGoal(IMMetaGoal goal)
Delete a meta goal. |
void |
deleteMetaGoalReference(IMMetaGoalReference goal)
Delete a meta goal reference. |
void |
deletePerformGoal(IMPerformGoal goal)
Delete a perform goal. |
void |
deletePerformGoalReference(IMPerformGoalReference goal)
Delete a perform goal reference. |
void |
deleteQueryGoal(IMQueryGoal goal)
Delete a query goal. |
void |
deleteQueryGoalReference(IMQueryGoalReference goal)
Delete a query goal reference. |
IMAchieveGoal |
getAchieveGoal(String name)
Get an achieve goal by name. |
IMAchieveGoalReference |
getAchieveGoalReference(String name)
Get an goal by name. |
IMAchieveGoalReference[] |
getAchieveGoalReferences()
Get all known achieve goal references. |
IMAchieveGoal[] |
getAchieveGoals()
Get all known achieve goals. |
IMGoal |
getGoal(String name)
Get a goal by name. |
IMGoalReference |
getGoalReference(String name)
Get a goal reference. |
IMGoalReference[] |
getGoalReferences()
Get all goal references. |
IMGoal[] |
getGoals()
Get all known goals. |
IMMaintainGoal |
getMaintainGoal(String name)
Get a maintain goal by name. |
IMMaintainGoalReference |
getMaintainGoalReference(String name)
Get an goal by name. |
IMMaintainGoalReference[] |
getMaintainGoalReferences()
Get all known maintain goal references. |
IMMaintainGoal[] |
getMaintainGoals()
Get all known maintain goals. |
IMMetaGoal |
getMetaGoal(String name)
Get a meta goal by name. |
IMMetaGoalReference |
getMetaGoalReference(String name)
Get a meta goal by name. |
IMMetaGoalReference[] |
getMetaGoalReferences()
Get all known meta goal references. |
IMMetaGoal[] |
getMetaGoals()
Get all known meta goals. |
IMPerformGoal |
getPerformGoal(String name)
Get a perform goal by name. |
IMPerformGoalReference |
getPerformGoalReference(String name)
Get a goal by name. |
IMPerformGoalReference[] |
getPerformGoalReferences()
Get all known perform goal references. |
IMPerformGoal[] |
getPerformGoals()
Get all known perform goals. |
IMQueryGoal |
getQueryGoal(String name)
Get a query goal by name. |
IMQueryGoalReference |
getQueryGoalReference(String name)
Get a query goal by name. |
IMQueryGoalReference[] |
getQueryGoalReferences()
Get all known query goal references. |
IMQueryGoal[] |
getQueryGoals()
Get all known query goals. |
Methods inherited from interface jadex.model.IMBase |
deleteReferenceableElement, getCorrespondingBase, getElementReferences, getReferenceableElement, getReferenceableElements |
Methods inherited from interface jadex.model.IMElement |
check, getChildren, getDescription, getEncodableRepresentation, getExpressionParameters, getName, getOwner, getReport, getScope, setDescription, setName |
Field Detail |
public static final String DUMMY_GOAL
Method Detail |
public IMPerformGoal[] getPerformGoals()
public IMPerformGoal getPerformGoal(String name)
name
- The perform goal name.
public IMPerformGoal createPerformGoal(String name, boolean exported, boolean retry, long retrydelay, String exclude)
name
- The name of the goal.exported
- Flag indicating if this goal may be referenced from outside capabilities.retry
- Should the goal be retried when not succeeded after the first plan.retrydelay
- An optional delay (in milliseconds) before the next plan is executed (-1 for no delay).exclude
- An optional identifer specifying which plans to exclude after they have been executed.
public void deletePerformGoal(IMPerformGoal goal)
goal
- The perform goal.public IMPerformGoalReference[] getPerformGoalReferences()
public IMPerformGoalReference getPerformGoalReference(String name)
name
- The perform goal reference name.
public IMPerformGoalReference createPerformGoalReference(String name, boolean exported, String ref)
name
- The name of the goal reference.exported
- Flag indicating if this goal reference may be referenced from outside capabilities.ref
- The referenced goal (or null for abstract).
public void deletePerformGoalReference(IMPerformGoalReference goal)
goal
- The perform goal reference.public IMAchieveGoal[] getAchieveGoals()
public IMAchieveGoal getAchieveGoal(String name)
name
- The achieve goal name.
public IMAchieveGoal createAchieveGoal(String name, boolean exported, boolean retry, long retrydelay, String exclude)
name
- The name of the goal.exported
- Flag indicating if this goal may be referenced from outside capabilities.retry
- Should the goal be retried when not succeeded after the first plan.retrydelay
- An optional delay (in milliseconds) before the next plan is executed (-1 for no delay).exclude
- An optional identifer specifying which plans to exclude after they have been executed.
public void deleteAchieveGoal(IMAchieveGoal goal)
goal
- The achieve goal.public IMAchieveGoalReference[] getAchieveGoalReferences()
public IMAchieveGoalReference getAchieveGoalReference(String name)
name
- The achieve goal reference name.
public IMAchieveGoalReference createAchieveGoalReference(String name, boolean exported, String ref)
name
- The name of the goal reference.exported
- Flag indicating if this goal reference may be referenced from outside capabilities.ref
- The referenced goal (or null for abstract).
public void deleteAchieveGoalReference(IMAchieveGoalReference goal)
goal
- The achieve goal reference.public IMQueryGoal[] getQueryGoals()
public IMQueryGoal getQueryGoal(String name)
name
- The query goal name.
public IMQueryGoal createQueryGoal(String name, boolean exported, boolean retry, long retrydelay, String exclude)
name
- The name of the goal.exported
- Flag indicating if this goal may be referenced from outside capabilities.retry
- Should the goal be retried when not succeeded after the first plan.retrydelay
- An optional delay (in milliseconds) before the next plan is executed (-1 for no delay).exclude
- An optional identifer specifying which plans to exclude after they have been executed.
public void deleteQueryGoal(IMQueryGoal goal)
goal
- The query goal.public IMQueryGoalReference[] getQueryGoalReferences()
public IMQueryGoalReference getQueryGoalReference(String name)
name
- The query goal reference name.
public IMQueryGoalReference createQueryGoalReference(String name, boolean exported, String ref)
name
- The name of the goal reference.exported
- Flag indicating if this goal reference may be referenced from outside capabilities.ref
- The referenced goal (or null for abstract).
public void deleteQueryGoalReference(IMQueryGoalReference goal)
goal
- The query goal reference.public IMMaintainGoal[] getMaintainGoals()
public IMMaintainGoal getMaintainGoal(String name)
name
- The maintain goal name.
public IMMaintainGoal createMaintainGoal(String name, boolean exported, boolean retry, long retrydelay, String exclude, boolean recur, long recurdelay)
name
- The name of the goal.exported
- Flag indicating if this goal may be referenced from outside capabilities.retry
- Should the goal be retried when not succeeded after the first plan.retrydelay
- An optional delay (in milliseconds) before the next plan is executed (-1 for no delay).exclude
- An optional identifer specifying which plans to exclude after they have been executed.recur
- Should the goal be recurred when not succeeded after all available plans have been tried.recurdelay
- An optional delay (in milliseconds) before the goal is recurred (-1 for no delay).
public void deleteMaintainGoal(IMMaintainGoal goal)
goal
- The maintain goal.public IMMaintainGoalReference[] getMaintainGoalReferences()
public IMMaintainGoalReference getMaintainGoalReference(String name)
name
- The maintain goal reference name.
public IMMaintainGoalReference createMaintainGoalReference(String name, boolean exported, String ref)
name
- The name of the goal reference.exported
- Flag indicating if this goal reference may be referenced from outside capabilities.ref
- The referenced goal (or null for abstract).
public void deleteMaintainGoalReference(IMMaintainGoalReference goal)
goal
- The maintain goal reference.public IMMetaGoal[] getMetaGoals()
public IMMetaGoal getMetaGoal(String name)
name
- The meta goal name.
public IMMetaGoal createMetaGoal(String name, boolean exported, boolean retry, long retrydelay, String exclude)
name
- The name of the goal.exported
- Flag indicating if this goal may be referenced from outside capabilities.retry
- Should the goal be retried when not succeeded after the first plan.retrydelay
- An optional delay (in milliseconds) before the next plan is executed (-1 for no delay).exclude
- An optional identifer specifying which plans to exclude after they have been executed.
public void deleteMetaGoal(IMMetaGoal goal)
goal
- The meta goal.public IMMetaGoalReference[] getMetaGoalReferences()
public IMMetaGoalReference getMetaGoalReference(String name)
name
- The meta goal reference name.
public IMMetaGoalReference createMetaGoalReference(String name, boolean exported, String ref)
name
- The name of the goal reference.exported
- Flag indicating if this goal reference may be referenced from outside capabilities.ref
- The referenced goal (or null for abstract).
public void deleteMetaGoalReference(IMMetaGoalReference goal)
goal
- The meta goal reference.public IMGoal[] getGoals()
public IMGoal getGoal(String name)
name
- The goal name.
public IMGoalReference[] getGoalReferences()
public IMGoalReference getGoalReference(String name)
name
- The name.
|
Jadex 0.941 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.