public class ChangeEvent extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BELIEFCHANGED
Event type that a belief value has changed (the whole value was changed).
|
static String |
FACTADDED
Event type that a fact has been added.
|
static String |
FACTCHANGED
Event type that a fact has changed (property change in case of bean).
|
static String |
FACTREMOVED
Event type that a fact has been removed.
|
static String |
GOALACTIVE
Event type that a goal has been added.
|
static String |
GOALADOPTED
Event type that a goal has been added.
|
static String |
GOALDROPPED
Event type that a goal has been removed.
|
static String |
GOALINHIBITED
Event type that a goal has been added.
|
static String |
GOALINPROCESS
Event type that a goal has been added.
|
static String |
GOALNOTINHIBITED
Event type that a goal has been added.
|
static String |
GOALNOTINPROCESS
Event type that a goal has been removed.
|
static String |
GOALOPTION
Event type that a goal has been optionized.
|
static String |
GOALSUSPENDED
Event type that a goal has been suspended.
|
static String |
PARAMETERCHANGED
Event type that a parameter value has changed (the whole value was changed).
|
static String |
PLANADOPTED
Event type that a plan has been added.
|
static String |
PLANFINISHED
Event type that a plan has been finished.
|
static String |
VALUEADDED
Event type that a value has been added.
|
static String |
VALUECHANGED
Event type that a value has changed (property change in case of bean).
|
static String |
VALUEREMOVED
Event type that a value has been removed.
|
Constructor and Description |
---|
ChangeEvent()
Create a new ChangeEvent.
|
ChangeEvent(jadex.rules.eca.IEvent event)
Create a new ChangeEvent.
|
ChangeEvent(String type,
Object source,
Object value,
Object info)
Create a new event.
|
Modifier and Type | Method and Description |
---|---|
Object |
getInfo()
Get the info.
|
Object |
getSource()
Get the source.
|
String |
getType()
Get the type.
|
Object |
getValue()
Get the value.
|
void |
setInfo(Object info)
Set the info.
|
void |
setSource(Object source)
Set the source.
|
void |
setType(String type)
Set the type.
|
void |
setValue(Object value)
Set the value.
|
String |
toString()
Get the string representation.
|
public static final String FACTADDED
public static final String FACTREMOVED
public static final String FACTCHANGED
public static final String BELIEFCHANGED
public static final String VALUEADDED
public static final String VALUEREMOVED
public static final String VALUECHANGED
public static final String PARAMETERCHANGED
public static final String GOALADOPTED
public static final String GOALDROPPED
public static final String GOALACTIVE
public static final String GOALOPTION
public static final String GOALSUSPENDED
public static final String GOALINPROCESS
public static final String GOALNOTINPROCESS
public static final String GOALINHIBITED
public static final String GOALNOTINHIBITED
public static final String PLANADOPTED
public static final String PLANFINISHED
public ChangeEvent()
public ChangeEvent(String type, Object source, Object value, Object info)
type
- source
- value
- public ChangeEvent(jadex.rules.eca.IEvent event)
public String getType()
public void setType(String type)
type
- The type to set.public Object getSource()
public void setSource(Object source)
source
- The source to set.public Object getValue()
public void setValue(Object value)
value
- The value to set.public Object getInfo()
public void setInfo(Object info)
info
- The info to set.Copyright © 2015. All Rights Reserved.