info.magnolia.module
Interface InstallContext
- All Known Implementing Classes:
- InstallContextImpl
public interface InstallContext
- Version:
- $Revision: $ ($Author: $)
- Author:
- gjoseph
info
void info(java.lang.String message)
warn
void warn(java.lang.String message)
error
void error(java.lang.String message,
java.lang.Throwable th)
restartNeeded
void restartNeeded(java.lang.String message)
getExecutedTaskCount
int getExecutedTaskCount()
getTotalTaskCount
int getTotalTaskCount()
getStatus
InstallStatus getStatus()
getMessages
java.util.Map<java.lang.String,java.util.List<InstallContext.Message>> getMessages()
- A Map of messages where the key is the module name.
getHierarchyManager
HierarchyManager getHierarchyManager(java.lang.String workspace)
getConfigHierarchyManager
HierarchyManager getConfigHierarchyManager()
hasModulesNode
boolean hasModulesNode()
getModulesNode
Content getModulesNode()
throws javax.jcr.RepositoryException
- Returns:
- the root node for all modules in the config workspace.
- Throws:
javax.jcr.RepositoryException
getOrCreateCurrentModuleNode
Content getOrCreateCurrentModuleNode()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
getOrCreateCurrentModuleConfigNode
Content getOrCreateCurrentModuleConfigNode()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
getCurrentModuleDefinition
ModuleDefinition getCurrentModuleDefinition()
- Allows generic tasks to know what's being installed/updated.
isModuleRegistered
boolean isModuleRegistered(java.lang.String moduleName)
Copyright © 2003-2010 Magnolia International Ltd.. All Rights Reserved.