info.magnolia.module.ui
Class ModuleManagerNullUI

java.lang.Object
  extended by info.magnolia.module.ui.ModuleManagerNullUI
All Implemented Interfaces:
ModuleManagerUI

public class ModuleManagerNullUI
extends Object
implements ModuleManagerUI

An implementation of ModuleManagerUI which does everything by itself, with no human intervention and simply logs its results.


Constructor Summary
ModuleManagerNullUI(ModuleManager moduleManager)
           
 
Method Summary
 boolean execute(Writer out, String command)
           
 void onStartup()
           
 void renderTempPage(Writer out)
          Not used anymore since 4.4 - but keeping this around; in the future, we might re-use this, as the page shown to regular users while the Magnolia instance is being updated by an admin; only admin(s) would have access to the update status pages.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModuleManagerNullUI

public ModuleManagerNullUI(ModuleManager moduleManager)
Method Detail

onStartup

public void onStartup()
               throws ModuleManagementException
Specified by:
onStartup in interface ModuleManagerUI
Throws:
ModuleManagementException

execute

public boolean execute(Writer out,
                       String command)
                throws ModuleManagementException
Specified by:
execute in interface ModuleManagerUI
Returns:
a boolean indicating if the request should go through or pause until next user action.
Throws:
ModuleManagementException

renderTempPage

public void renderTempPage(Writer out)
Description copied from interface: ModuleManagerUI
Not used anymore since 4.4 - but keeping this around; in the future, we might re-use this, as the page shown to regular users while the Magnolia instance is being updated by an admin; only admin(s) would have access to the update status pages.

Specified by:
renderTempPage in interface ModuleManagerUI


Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.