cvm.ucm.manager
Class UCM_M_Facade

java.lang.Object
  extended by cvm.ucm.manager.UCM_M_Facade

public class UCM_M_Facade
extends java.lang.Object

Façade class that provides an interface into the UCM_Manager subsystem. The purpose of this class is to aid future expansion of this subsystem. OCL Statement: Context: UCM_M_Facade inv: ucmManager<>null

Author:
Frank Hernandez

Method Summary
 void executeScript(java.lang.String script)
          This method executes a control scipt received from the SynthesisEngine.
static UCM_M_Facade getInstance(SEManager se)
           
static UCM_M_Facade Instance(SynthesisEngine se, NetworkCommunicationBroker ncb)
          Deprecated.  
static void main(java.lang.String[] args)
          Testing Manager Facade Class - Unit Test
static void notifyEvent(Handles_Event event)
          Notifies the occurance of an even.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

Instance

public static UCM_M_Facade Instance(SynthesisEngine se,
                                    NetworkCommunicationBroker ncb)
Deprecated. 

Parameters:
se -
ncb -
Returns:
instance

getInstance

public static UCM_M_Facade getInstance(SEManager se)

notifyEvent

public static void notifyEvent(Handles_Event event)
Notifies the occurance of an even. OCL Statement: Context: UCM_M_Facade::notifyEvent(event) pre: event <> null Context: UCM_M_Facade::notifyEvent(event) post: ucmManager<>null

Parameters:
event - event to handle

executeScript

public void executeScript(java.lang.String script)
This method executes a control scipt received from the SynthesisEngine. OCL Statement: Context: UCM_M_Facade::executeScript(script) pre: script.length>0 Context: UCM_M_Facade::executeScript(script) post: ucmManager<>null

Parameters:
script - to parse.

main

public static void main(java.lang.String[] args)
Testing Manager Facade Class - Unit Test

Parameters:
args -