|
Jadex 0.96-beta1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMGoalbase
The goalbase behaviour interface.
Field Summary | |
---|---|
static String |
DUMMY_GOAL
The constant for defining the dummy goal. |
Method Summary | |
---|---|
IMAchieveGoal |
createAchieveGoal(String name,
String exported,
boolean retry,
long retrydelay,
String exclude)
Create an achieve goal. |
IMAchieveGoalReference |
createAchieveGoalReference(String name,
String exported,
String ref)
Create an achieve goal reference. |
IMMaintainGoal |
createMaintainGoal(String name,
String exported,
boolean retry,
long retrydelay,
String exclude,
boolean recur,
long recurdelay)
Create a maintain goal. |
IMMaintainGoalReference |
createMaintainGoalReference(String name,
String exported,
String ref)
Create an maintain goal reference. |
IMMetaGoal |
createMetaGoal(String name,
String exported,
boolean retry,
long retrydelay,
String exclude)
Create a meta goal. |
IMMetaGoalReference |
createMetaGoalReference(String name,
String exported,
String ref)
Create a meta goal reference. |
IMPerformGoal |
createPerformGoal(String name,
String exported,
boolean retry,
long retrydelay,
String exclude)
Create a perform goal. |
IMPerformGoalReference |
createPerformGoalReference(String name,
String exported,
String ref)
Create a perform goal reference. |
IMQueryGoal |
createQueryGoal(String name,
String exported,
boolean retry,
long retrydelay,
String exclude)
Create a query goal. |
IMQueryGoalReference |
createQueryGoalReference(String name,
String 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, getName, getOwner, getReport, getScope, getSystemExpressionParameters, setDescription, setName |
Field Detail |
---|
static final String DUMMY_GOAL
Method Detail |
---|
IMPerformGoal[] getPerformGoals()
IMPerformGoal getPerformGoal(String name)
name
- The perform goal name.
IMPerformGoal createPerformGoal(String name, String 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.
void deletePerformGoal(IMPerformGoal goal)
goal
- The perform goal.IMPerformGoalReference[] getPerformGoalReferences()
IMPerformGoalReference getPerformGoalReference(String name)
name
- The perform goal reference name.
IMPerformGoalReference createPerformGoalReference(String name, String 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).
void deletePerformGoalReference(IMPerformGoalReference goal)
goal
- The perform goal reference.IMAchieveGoal[] getAchieveGoals()
IMAchieveGoal getAchieveGoal(String name)
name
- The achieve goal name.
IMAchieveGoal createAchieveGoal(String name, String 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.
void deleteAchieveGoal(IMAchieveGoal goal)
goal
- The achieve goal.IMAchieveGoalReference[] getAchieveGoalReferences()
IMAchieveGoalReference getAchieveGoalReference(String name)
name
- The achieve goal reference name.
IMAchieveGoalReference createAchieveGoalReference(String name, String 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).
void deleteAchieveGoalReference(IMAchieveGoalReference goal)
goal
- The achieve goal reference.IMQueryGoal[] getQueryGoals()
IMQueryGoal getQueryGoal(String name)
name
- The query goal name.
IMQueryGoal createQueryGoal(String name, String 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.
void deleteQueryGoal(IMQueryGoal goal)
goal
- The query goal.IMQueryGoalReference[] getQueryGoalReferences()
IMQueryGoalReference getQueryGoalReference(String name)
name
- The query goal reference name.
IMQueryGoalReference createQueryGoalReference(String name, String 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).
void deleteQueryGoalReference(IMQueryGoalReference goal)
goal
- The query goal reference.IMMaintainGoal[] getMaintainGoals()
IMMaintainGoal getMaintainGoal(String name)
name
- The maintain goal name.
IMMaintainGoal createMaintainGoal(String name, String 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).
void deleteMaintainGoal(IMMaintainGoal goal)
goal
- The maintain goal.IMMaintainGoalReference[] getMaintainGoalReferences()
IMMaintainGoalReference getMaintainGoalReference(String name)
name
- The maintain goal reference name.
IMMaintainGoalReference createMaintainGoalReference(String name, String 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).
void deleteMaintainGoalReference(IMMaintainGoalReference goal)
goal
- The maintain goal reference.IMMetaGoal[] getMetaGoals()
IMMetaGoal getMetaGoal(String name)
name
- The meta goal name.
IMMetaGoal createMetaGoal(String name, String 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.
void deleteMetaGoal(IMMetaGoal goal)
goal
- The meta goal.IMMetaGoalReference[] getMetaGoalReferences()
IMMetaGoalReference getMetaGoalReference(String name)
name
- The meta goal reference name.
IMMetaGoalReference createMetaGoalReference(String name, String 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).
void deleteMetaGoalReference(IMMetaGoalReference goal)
goal
- The meta goal reference.IMGoal[] getGoals()
IMGoal getGoal(String name)
name
- The goal name.
IMGoalReference[] getGoalReferences()
IMGoalReference getGoalReference(String name)
name
- The name.
|
Jadex 0.96-beta1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.