| 
 | Jadex 0.96-beta1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IMGoal
The base model element for all goal types.
| Field Summary | |
|---|---|
| static String | EXCLUDE_NEVERNever exclude plan candidates from apl. | 
| static String | EXCLUDE_WHEN_FAILEDExclude failed plan candidates from apl. | 
| static String | EXCLUDE_WHEN_SUCCEEDEDExclude succeeded plan candidates from apl. | 
| static String | EXCLUDE_WHEN_TRIEDExclude tried plan candidates from apl. | 
| Fields inherited from interface jadex.model.IMReferenceableElement | 
|---|
| EXPORTED_FALSE, EXPORTED_SHIELDED, EXPORTED_TRUE | 
| Method Summary | |
|---|---|
|  IMCondition | createContextCondition(String expression)Create a context condition for the goal. | 
|  IMCondition | createCreationCondition(String expression)Create a creation condition for the goal. | 
|  IMDeliberation | createDeliberation(int cardinality)Create new the deliberation properties for the goal. | 
|  IMCondition | createDropCondition(String expression)Create a drop condition for the goal. | 
|  IMUnique | createUnique()Create new the uniqueness properties for the goal. | 
|  void | deleteContextCondition()Delete the context condition of the goal. | 
|  void | deleteCreationCondition()Delete the creation condition of the goal. | 
|  void | deleteDeliberation()Delete the deliberation properties of the goal. | 
|  void | deleteDropCondition()Delete the drop condition of the goal. | 
|  void | deleteUnique()Delete the uniqueness properties of the goal. | 
|  IMCondition | getContextCondition()Get the context condition of the goal. | 
|  IMCondition | getCreationCondition()Get the creation condition of the goal. | 
|  IMDeliberation | getDeliberation()Get the deliberation properties of the goal (if any). | 
|  IMCondition | getDropCondition()Get the drop condition of the goal. | 
|  String | getExcludeMode()Get the exclude mode. | 
|  IMGoalEvent | getGoalEvent()Get the goal event. | 
|  long | getRecurDelay()Get the recur delay. | 
|  IMParameter[] | getRelevantParameters()Get the parameters which are relevant for comparing goals. | 
|  IMParameterSet[] | getRelevantParameterSets()Get the parameter sets which are relevant for comparing goals. | 
|  long | getRetryDelay()Get the retry delay. | 
|  IMUnique | getUnique()Get the uniqueness properties of the goal (if any). | 
|  boolean | isPostToAll()Get the post-to-all flag. | 
|  boolean | isRandomSelection()Get the random selection flag. | 
|  boolean | isRecalculating()Get the recalculate applicable candidates list (apl) state. | 
|  boolean | isRecur()Get the recur flag. | 
|  boolean | isRetry()Get the retry flag. | 
|  void | setExcludeMode(String exclude)Set the exclude mode. | 
|  void | setPostToAll(boolean posttoall)Set the post-to-all flag. | 
|  void | setRandomSelection(boolean randomselection)Set the random selection flag. | 
|  void | setRecalculating(boolean recalculate)Set the recalculate applicable candidates list (apl) state. | 
|  void | setRecur(boolean recur)Set the recur flag. | 
|  void | setRecurDelay(long recurdelay)Set the recur delay flag. | 
|  void | setRetry(boolean retry)Set the retry flag. | 
|  void | setRetryDelay(long retrydelay)Set the retry delay flag. | 
| Methods inherited from interface jadex.model.IMParameterElement | 
|---|
| createParameter, createParameterSet, deleteParameter, deleteParameterSet, getBindingParameters, getParameter, getParameters, getParameterSet, getParameterSets | 
| Methods inherited from interface jadex.model.IMReferenceableElement | 
|---|
| createAssignTo, deleteAssignTo, getAssignToElements, getAssignTos, getExported, setExported | 
| Methods inherited from interface jadex.model.IMElement | 
|---|
| check, getChildren, getDescription, getEncodableRepresentation, getName, getOwner, getReport, getScope, getSystemExpressionParameters, setDescription, setName | 
| Field Detail | 
|---|
static final String EXCLUDE_NEVER
static final String EXCLUDE_WHEN_FAILED
static final String EXCLUDE_WHEN_SUCCEEDED
static final String EXCLUDE_WHEN_TRIED
| Method Detail | 
|---|
IMCondition getCreationCondition()
IMCondition createCreationCondition(String expression)
expression - The expression string.
void deleteCreationCondition()
IMCondition getContextCondition()
IMCondition createContextCondition(String expression)
expression - The expression string.
void deleteContextCondition()
IMCondition getDropCondition()
IMCondition createDropCondition(String expression)
expression - The expression string.
void deleteDropCondition()
IMUnique getUnique()
IMUnique createUnique()
void deleteUnique()
IMDeliberation getDeliberation()
IMDeliberation createDeliberation(int cardinality)
cardinality - The cardinality (i.e. number of concurrently active goals) of this type.
void deleteDeliberation()
boolean isRetry()
void setRetry(boolean retry)
retry - The flag indicating if this goal should be retried when the first plan fails.long getRetryDelay()
void setRetryDelay(long retrydelay)
retrydelay - The delay between retries of the goal (in milliseconds) or -1 for no delay.String getExcludeMode()
void setExcludeMode(String exclude)
exclude - The mode indicating which plans should be excluded after they have been tried.boolean isRandomSelection()
void setRandomSelection(boolean randomselection)
randomselection - The flag indicating if plans should be selected at random or by prominence.boolean isPostToAll()
void setPostToAll(boolean posttoall)
posttoall - The flag indicating if all applicable plans should be executed at once.boolean isRecalculating()
void setRecalculating(boolean recalculate)
recalculate - True, if should be recalculated eacht time.boolean isRecur()
void setRecur(boolean recur)
recur - The flag indicating if this goal should be retried when the first plan fails.long getRecurDelay()
void setRecurDelay(long recurdelay)
recurdelay - The delay between retries of the goal (in milliseconds) or -1 for no delay.IMGoalEvent getGoalEvent()
IMParameter[] getRelevantParameters()
IMParameterSet[] getRelevantParameterSets()
| 
 | 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.