info.magnolia.module
Class ModuleManager.ModuleManagementState

java.lang.Object
  extended by info.magnolia.module.ModuleManager.ModuleManagementState
Enclosing interface:
ModuleManager

public static final class ModuleManager.ModuleManagementState
extends Object

Represent what's to be done for all modules.


Constructor Summary
ModuleManager.ModuleManagementState()
           
 
Method Summary
protected  EnumSet<DeltaType> getDeltaTypes()
           
 String getDeltaTypesDescription(String[] texts)
          Returns one of the given Strings depending on the combination of delta types in the registered deltas.
 List<ModuleManager.ModuleAndDeltas> getList()
           
 boolean needsUpdateOrInstall()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModuleManager.ModuleManagementState

public ModuleManager.ModuleManagementState()
Method Detail

needsUpdateOrInstall

public boolean needsUpdateOrInstall()

getList

public List<ModuleManager.ModuleAndDeltas> getList()

getDeltaTypesDescription

public String getDeltaTypesDescription(String[] texts)
Returns one of the given Strings depending on the combination of delta types in the registered deltas. Typical use: getDeltaTypesDescription({"modules need to be installed", "modules need to be installed", "modules need to be installed or updated"});

Parameters:
texts -
Returns:

getDeltaTypes

protected EnumSet<DeltaType> getDeltaTypes()


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.