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 java.lang.Object

Represent what's to be done for all modules.


Constructor Summary
ModuleManager.ModuleManagementState()
           
 
Method Summary
protected  java.util.EnumSet<DeltaType> getDeltaTypes()
           
 java.lang.String getDeltaTypesDescription(java.lang.String[] texts)
          Returns one of the given Strings depending on the combination of delta types in the registered deltas.
 java.util.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 java.util.List<ModuleManager.ModuleAndDeltas> getList()

getDeltaTypesDescription

public java.lang.String getDeltaTypesDescription(java.lang.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 java.util.EnumSet<DeltaType> getDeltaTypes()


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