|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.sahits.codegen.QueuedActionElement
public final class QueuedActionElement
This class represents an element object of the ActionQueue.
Each element has its Runnable action to be processed and a designated
class that that initiates the processing.
An Element has two states:
process() method is called on this element the object is
in its final state. Each element can only be processed once.
| Constructor Summary | |
|---|---|
QueuedActionElement(java.lang.String prozessingClass,
java.lang.Runnable action)
Constructor initializing the elements |
|
| Method Summary | |
|---|---|
java.lang.String |
getProzessingClass()
Retrieve the name of the processing class |
boolean |
is2Bprocessed()
Check if the element is to be processed. |
void |
process()
Execute the run method of the Runnable action if
the action is allowed to be processed and is not already processed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueuedActionElement(java.lang.String prozessingClass,
java.lang.Runnable action)
prozessingClass - class on which the element to be processedaction - to be run| Method Detail |
|---|
public boolean is2Bprocessed()
prozessingClass
prozessingClasspublic void process()
Runnable action if
the action is allowed to be processed and is not already processed.
is2Bprocessed()public java.lang.String getProzessingClass()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||