|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.rubecula.darwin.domain.environment.EnvironmentChangeEvent
public class EnvironmentChangeEvent
This class defines a Runnable
event which changes the value of an eco
factor in an environment. It is normally scheduled by virtue of the
Evolution.scheduleEvent(long, Runnable)
method.
TODO consider extending AToString
Field Summary | |
---|---|
protected static org.apache.commons.logging.Log |
LOG
|
Constructor Summary | |
---|---|
EnvironmentChangeEvent(Environment environment,
java.lang.String factorKey,
java.lang.Object factorValue)
|
Method Summary | |
---|---|
void |
run()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final org.apache.commons.logging.Log LOG
Constructor Detail |
---|
public EnvironmentChangeEvent(Environment environment, java.lang.String factorKey, java.lang.Object factorValue)
environment
- the environment we will be changingfactorKey
- the factor key to identify which factor will changefactorValue
- the new value for the factorMethod Detail |
---|
public void run()
run
in interface java.lang.Runnable
Runnable.run()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |