ponderEnforcement.ponderMC.policyObjects
Class Executor

java.lang.Object
  |
  +--ponderEnforcement.ponderMC.policyObjects.Executor

public class Executor
extends java.lang.Object

Function:The part of an Obligation Enforcement Object responsible for the execution of actions to objects.


Inner Class Summary
 class Executor.ExecThread
           
 
Constructor Summary
Executor(PonderMCimpl newPmc, MainWindow newMainWin, ObligationI newObligation)
          Constructor
 
Method Summary
 boolean execute(PonderEventI event, ObligActionI actions, java.util.Hashtable effectiveActions)
          The method to execute the actions to the target objects
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Executor

public Executor(PonderMCimpl newPmc,
                MainWindow newMainWin,
                ObligationI newObligation)
Constructor
Parameters:
newPmc - The main PMC oblect
newMainWin - The main window of the GUI for this PMC
Method Detail

execute

public boolean execute(PonderEventI event,
                       ObligActionI actions,
                       java.util.Hashtable effectiveActions)
The method to execute the actions to the target objects
Parameters:
event - The runtime event that triggered this execution
actions - The ObligActions of the Obligation Policy
effectiveActions - The actions table indicating the actions and target object sets for each after evaluation of the refrains for the actions
True - if the execution was successful. False otherwise