|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.core.kivi.AbstractTrigger
de.cau.cs.kieler.core.kivi.test.TestTriggerA
public class TestTriggerA
A simple Trigger for unit tests that runs in an own thread and triggers from time to time.
Nested Class Summary | |
---|---|
static class |
TestTriggerA.AState
|
Constructor Summary | |
---|---|
TestTriggerA()
|
Method Summary | |
---|---|
void |
register()
Called when the trigger is activated, e.g., if KIVi is (re-)activated or the first ICombination being fired by such a trigger is loaded. |
void |
run()
When an object implementing interface Runnable is used
to create a thread, starting the thread causes the object's
run method to be called in that separately executing
thread. |
void |
unregister()
Called when the trigger is deactivated, e.g., if the whole KIVi is deactivated. |
Methods inherited from class de.cau.cs.kieler.core.kivi.AbstractTrigger |
---|
isActive, setActive, synchronizedTrigger, trigger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestTriggerA()
Method Detail |
---|
public void register()
ICombination
being fired by such a trigger is loaded.
Registers itself where necessary.
register
in interface ITrigger
register
in class AbstractTrigger
public void unregister()
unregister
in interface ITrigger
unregister
in class AbstractTrigger
public void run()
Runnable
is used
to create a thread, starting the thread causes the object's
run
method to be called in that separately executing
thread.
run
in interface Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |