ch.sahits.codegen
Interface IProcessQueuedAction

All Known Implementing Classes:
ArtefactCodeGenerator, BasicGeneralCodeGenerator, BasicHeadlessJavaCodeGenerator

public interface IProcessQueuedAction

This interface is implemented by a class that executes elements from the action queue.

Since:
1.2.0
Author:
Andi Hotz, Sahits GmbH

Method Summary
 void processQueuedElements()
          Process the elements of the ActionQueue This is typically done by a code fragment like this List elements = queue.getQueuedElements(getClass().getName()); for (QueuedActionElement elem : elements){ elem.process(); } It is suggested that the element is removed from the queue after processing for memory reasons.
 

Method Detail

processQueuedElements

void processQueuedElements()
Process the elements of the ActionQueue This is typically done by a code fragment like this
    List elements = queue.getQueuedElements(getClass().getName());
    for (QueuedActionElement elem : elements){
        elem.process();
    }
 
It is suggested that the element is removed from the queue after processing for memory reasons. No element can be processed twice.