| 
 | Jadex 0.96-beta1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ICondition
Common interface for all conditions
| Field Summary | |
|---|---|
| static String | TRACE_ALWAYSAlways trace this condition (generate event whenever satisfied). | 
| static String | TRACE_NEVERDo not trace this condition (the default). | 
| static String | TRACE_ONCETrace this condition once (until satisfied). | 
| static String | TRIGGER_ALWAYSTrigger on every evaluation regardless of state. | 
| static String | TRIGGER_CHANGESTrigger when the state changes. | 
| static String | TRIGGER_CHANGES_TO_FALSETrigger when the state changes to false. | 
| static String | TRIGGER_CHANGES_TO_TRUETrigger when the state changes to true. | 
| static String | TRIGGER_IS_FALSETrigger when the state is to false. | 
| static String | TRIGGER_IS_TRUETrigger when the state is to true. | 
| Method Summary | |
|---|---|
|  void | addConditionListener(IConditionListener listener,
                     boolean async)Add a condition listener. | 
|  IFilter | getFilter()Get the filter to wait for the condition. | 
|  String | getTraceMode()Get the trace mode. | 
|  void | removeConditionListener(IConditionListener listener)Remove a condition listener. | 
|  void | setTraceMode(String trace)Set the trace mode without generating events immediately. | 
|  void | traceAlways()Trace this condition always, generating an event whenever it evaluates to true. | 
|  void | traceOnce()Trace this condition once, until it is triggerd. | 
| Methods inherited from interface jadex.runtime.IExpression | 
|---|
| execute, execute, execute, getParameter, getValue, refresh, setParameter | 
| Methods inherited from interface jadex.runtime.IElement | 
|---|
| getModelElement, getName | 
| Field Detail | 
|---|
static final String TRACE_NEVER
static final String TRACE_ALWAYS
static final String TRACE_ONCE
static final String TRIGGER_ALWAYS
static final String TRIGGER_CHANGES
static final String TRIGGER_CHANGES_TO_FALSE
static final String TRIGGER_CHANGES_TO_TRUE
static final String TRIGGER_IS_FALSE
static final String TRIGGER_IS_TRUE
| Method Detail | 
|---|
String getTraceMode()
void setTraceMode(String trace)
trace - The new trace mode.void traceOnce()
void traceAlways()
IFilter getFilter()
void addConditionListener(IConditionListener listener,
                          boolean async)
listener - The condition listener.async - True, if the notification should be done on a separate thread.void removeConditionListener(IConditionListener listener)
listener - The condition listener.| 
 | 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.