|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use InstallContext | |
---|---|
info.magnolia.module | |
info.magnolia.module.delta | |
info.magnolia.module.webapp | This package contains the necessary classes to determine if the web-app needs to be bootstrapped, and to do so. |
info.magnolia.nodebuilder.task | |
info.magnolia.setup | This package contains the classes necessary to install and update Magnolia's core module. |
info.magnolia.setup.for4_5 | |
info.magnolia.setup.for5_0 | |
info.magnolia.setup.initial | |
info.magnolia.templating.module.setup |
Uses of InstallContext in info.magnolia.module |
---|
Classes in info.magnolia.module that implement InstallContext | |
---|---|
class |
InstallContextImpl
Default implementation of InstallContext ; provided by the ModuleManager . |
Methods in info.magnolia.module that return InstallContext | |
---|---|
InstallContext |
ModuleManagerImpl.getInstallContext()
|
InstallContext |
ModuleManager.getInstallContext()
|
Methods in info.magnolia.module with parameters of type InstallContext | |
---|---|
protected void |
AbstractModuleVersionHandler.ModuleVersionToLatestTask.doExecute(InstallContext ctx)
|
protected List<Task> |
DefaultModuleVersionHandler.getBasicInstallTasks(InstallContext installContext)
This method should generally not be overridden. |
protected abstract List<Task> |
AbstractModuleVersionHandler.getBasicInstallTasks(InstallContext installContext)
|
Version |
ModuleVersionHandler.getCurrentlyInstalled(InstallContext ctx)
Gets the currently installed version number of this module. |
Version |
AbstractModuleVersionHandler.getCurrentlyInstalled(InstallContext ctx)
|
protected Delta |
AbstractModuleVersionHandler.getDefaultUpdate(InstallContext installContext)
The minimal delta to be applied for each update, even if no delta was specifically registered for the version being installed. |
List<Delta> |
ModuleVersionHandler.getDeltas(InstallContext installContext,
Version from)
Returns the deltas to be applied to update from the given Version from to the current one. |
List<Delta> |
AbstractModuleVersionHandler.getDeltas(InstallContext installContext,
Version from)
|
protected List<Task> |
AbstractModuleVersionHandler.getExtraInstallTasks(InstallContext installContext)
Override this method to add specific install tasks to your module. |
protected Delta |
AbstractModuleVersionHandler.getInstall(InstallContext installContext)
|
Delta |
ModuleVersionHandler.getStartupDelta(InstallContext installContext)
Deprecated. It seems irrelevant to have startup tasks in a VersionHandler. These should probably be moved to ModuleLifecycle. |
Delta |
AbstractModuleVersionHandler.getStartupDelta(InstallContext installContext)
|
protected List<Task> |
AbstractModuleVersionHandler.getStartupTasks(InstallContext installContext)
Override this method to add specific startup tasks to your module. |
protected List<Delta> |
AbstractModuleVersionHandler.getUpdateDeltas(InstallContext installContext,
Version from)
|
protected Version |
AbstractModuleVersionHandler.ModuleVersionToLatestTask.getVersion(InstallContext ctx)
|
protected Version |
AbstractModuleVersionHandler.ModuleVersionUpdateTask.getVersion(InstallContext ctx)
|
Uses of InstallContext in info.magnolia.module.delta |
---|
Methods in info.magnolia.module.delta with parameters of type InstallContext | |
---|---|
protected boolean |
ModuleBootstrapTask.acceptResource(InstallContext ctx,
String resourceName)
Accepts any resource under "/mgnl-bootstrap/moduleName" including any subfolders. |
protected boolean |
BootstrapResourcesTask.acceptResource(InstallContext installContext,
String resourceName)
Override this method to filter resources to bootstrap. |
boolean |
WarnCondition.check(InstallContext installContext)
|
boolean |
TrueCondition.check(InstallContext installContext)
|
boolean |
FalseCondition.check(InstallContext installContext)
|
boolean |
Condition.check(InstallContext installContext)
|
protected void |
PropertyValuesTask.checkAndModifyPartOfPropertyValue(InstallContext ctx,
javax.jcr.Node node,
String propertyName,
String expectedValue,
String newValue)
Checks if property contains concrete string. |
protected void |
PropertyValuesTask.checkAndModifyPropertyValue(InstallContext ctx,
Content node,
String propertyName,
String expectedCurrentValue,
String newValue)
Checks that the given String property has the expected value. |
protected boolean |
PropertyValueDelegateTask.checkNode(Content node,
InstallContext ctx)
|
protected boolean |
PropertyExistsDelegateTask.checkNode(Content node,
InstallContext ctx)
|
protected abstract boolean |
NodeCheckDelegateTask.checkNode(Content node,
InstallContext ctx)
|
protected void |
PropertyValuesTask.checkOrCreateProperty(InstallContext ctx,
Content node,
String propertyName,
String expectedValue)
|
protected boolean |
NodeExistsDelegateTask.condition(InstallContext ctx)
|
protected boolean |
NodeCheckDelegateTask.condition(InstallContext ctx)
|
protected boolean |
IsModuleInstalledOrRegistered.condition(InstallContext ctx)
|
protected boolean |
IsInstallSamplesTask.condition(InstallContext installContext)
|
protected abstract boolean |
ConditionalDelegateTask.condition(InstallContext installContext)
|
protected boolean |
ChildrenExistsDelegateTask.condition(InstallContext ctx)
|
protected void |
SetPropertyTask.doExecute(InstallContext installContext)
|
protected void |
RenameNodesTask.doExecute(InstallContext installContext)
|
protected void |
RemovePropertyTask.doExecute(InstallContext ctx)
|
protected void |
RemovePermissionTask.doExecute(InstallContext ctx)
|
protected void |
RemoveNodeWoChildren.doExecute(InstallContext ctx)
|
protected void |
RemoveNodeTask.doExecute(InstallContext ctx)
|
protected void |
RemoveDuplicatePermissionTask.doExecute(InstallContext ctx)
|
protected void |
RegisterNodeTypeTask.doExecute(InstallContext installContext)
|
protected void |
QueryTask.doExecute(InstallContext installContext)
|
protected void |
PropertiesImportTask.doExecute(InstallContext installContext)
|
protected void |
OrderNodeBeforeTask.doExecute(InstallContext installContext)
|
protected void |
OrderNodeAfterTask.doExecute(InstallContext installContext)
|
protected void |
OrderFilterBeforeTask.doExecute(InstallContext ctx)
|
protected void |
MoveNodeTask.doExecute(InstallContext installContext)
|
protected void |
MoveAndRenamePropertyTask.doExecute(InstallContext ctx)
|
protected void |
FilterOrderingTask.doExecute(InstallContext ctx)
|
protected void |
CreateNodeTask.doExecute(InstallContext installContext)
|
protected void |
CreateNodePathTask.doExecute(InstallContext installContext)
|
protected void |
CopyOrReplaceNodePropertiesTask.doExecute(InstallContext ctx)
|
protected void |
CopyNodeTask.doExecute(InstallContext installContext)
|
protected void |
ChangeNodeTypeTask.doExecute(InstallContext ctx)
|
protected void |
ChangeAllPropertiesWithCertainValueTask.doExecute(InstallContext installContext)
|
protected void |
AllChildrenNodesOperation.doExecute(InstallContext ctx)
|
protected void |
AddRoleToGroupTask.doExecute(InstallContext ctx)
|
protected void |
AddMimeMappingTask.doExecute(InstallContext ctx)
|
protected void |
AddGroupToGroupTask.doExecute(InstallContext ctx)
|
protected abstract void |
AbstractRepositoryTask.doExecute(InstallContext installContext)
|
void |
WarnTask.execute(InstallContext installContext)
|
void |
Task.execute(InstallContext installContext)
A good-citizen task should execute itself responsibly: it should know what to do in case of problems: for instance, fixable or irrelevant issues should usually just be logged used the InstallContext methods, when the user can fix them later on. |
void |
SetupModuleRepositoriesTask.execute(InstallContext ctx)
|
void |
RegisterServletTask.execute(InstallContext installContext)
|
void |
RegisterModuleServletsTask.execute(InstallContext installContext)
|
void |
PartialBootstrapTask.execute(InstallContext ctx)
|
void |
NewPropertyTask.execute(InstallContext ctx)
|
void |
ModuleFilesExtraction.execute(InstallContext ctx)
|
void |
ConditionalDelegateTask.execute(InstallContext ctx)
|
void |
CheckOrCreatePropertyTask.execute(InstallContext ctx)
|
void |
CheckAndModifyPropertyValueTask.execute(InstallContext ctx)
|
void |
CheckAndModifyPartOfPropertyValueTask.execute(InstallContext ctx)
|
void |
BootstrapResourcesTask.execute(InstallContext installContext)
|
void |
BackupTask.execute(InstallContext ctx)
|
void |
ArrayDelegateTask.execute(InstallContext ctx)
|
void |
AddUserToGroupTask.execute(InstallContext ctx)
|
void |
AddRoleToUserTask.execute(InstallContext ctx)
|
void |
AddPermissionTask.execute(InstallContext ctx)
|
void |
AbstractRepositoryTask.execute(InstallContext installContext)
|
void |
AbstractConditionalRepositoryTask.execute(InstallContext ctx)
A good-citizen task should execute itself responsibly: it should know what to do in case of problems: for instance, fixable or irrelevant issues should usually just be logged used the InstallContext methods, when the user can fix them later on. |
protected HierarchyManager |
AllModulesNodeOperation.getHierarchyManager(InstallContext ctx)
|
protected Content |
AllModulesNodeOperation.getParentNode(InstallContext ctx)
|
protected Content |
AllChildrenNodesOperation.getParentNode(InstallContext ctx)
|
protected String[] |
BootstrapSingleResource.getResourcesToBootstrap(InstallContext installContext)
|
protected String[] |
BootstrapSingleModuleResource.getResourcesToBootstrap(InstallContext installContext)
|
protected String[] |
BootstrapResourcesTask.getResourcesToBootstrap(InstallContext installContext)
Override this method to bootstrap specific resource files. |
protected void |
PropertyValuesTask.newProperty(InstallContext ctx,
Content node,
String propertyName,
String value)
Checks that the given property does not exist and creates it with the given value, logs otherwise. |
protected void |
PropertyValuesTask.newProperty(InstallContext ctx,
Content node,
String propertyName,
String value,
boolean log)
|
protected void |
AllModulesNodeOperation.operateOnChildNode(Content node,
InstallContext ctx)
|
protected abstract void |
AllChildrenNodesOperation.operateOnChildNode(Content node,
InstallContext ctx)
|
protected void |
RenamePropertyAllModulesNodeTask.operateOnModuleNode(Content node,
HierarchyManager hm,
InstallContext ctx)
|
protected abstract void |
AllModulesNodeOperation.operateOnModuleNode(Content node,
HierarchyManager hm,
InstallContext ctx)
|
protected abstract void |
QueryTask.operateOnNode(InstallContext installContext,
Content node)
Deprecated. Since 4.5.4 use info.magnolia.module.delta.QueryTask.operateOnNode(InstallContext, Node) |
protected abstract void |
QueryTask.operateOnNode(InstallContext installContext,
javax.jcr.Node node)
|
Uses of InstallContext in info.magnolia.module.webapp |
---|
Methods in info.magnolia.module.webapp with parameters of type InstallContext | |
---|---|
void |
WebappBootstrap.execute(InstallContext installContext)
|
Version |
WebappVersionHandler.getCurrentlyInstalled(InstallContext ctx)
|
List<Delta> |
WebappVersionHandler.getDeltas(InstallContext ctx,
Version from)
|
Delta |
WebappVersionHandler.getStartupDelta(InstallContext ctx)
|
Uses of InstallContext in info.magnolia.nodebuilder.task |
---|
Methods in info.magnolia.nodebuilder.task with parameters of type InstallContext | |
---|---|
protected void |
AbstractNodeBuilderTask.doExecute(InstallContext ctx)
|
protected Content |
NodeBuilderTask.getRootNode(InstallContext ctx)
|
protected Content |
ModuleNodeBuilderTask.getRootNode(InstallContext ctx)
|
protected Content |
ModuleConfigNodeBuilderTask.getRootNode(InstallContext ctx)
|
protected abstract Content |
AbstractNodeBuilderTask.getRootNode(InstallContext ctx)
|
protected ErrorHandler |
AbstractNodeBuilderTask.newErrorHandler(InstallContext ctx)
|
Constructors in info.magnolia.nodebuilder.task with parameters of type InstallContext | |
---|---|
TaskLogErrorHandler(InstallContext installCtx)
|
Uses of InstallContext in info.magnolia.setup |
---|
Methods in info.magnolia.setup with parameters of type InstallContext | |
---|---|
boolean |
SystemTmpDirCondition.check(InstallContext installContext)
|
protected List<Task> |
CoreModuleVersionHandler.getBasicInstallTasks(InstallContext ctx)
|
protected void |
HashUsersPasswords.operateOnChildNode(Content node,
InstallContext ctx)
|
Uses of InstallContext in info.magnolia.setup.for4_5 |
---|
Methods in info.magnolia.setup.for4_5 with parameters of type InstallContext | |
---|---|
protected void |
UpdateUserManagers.doExecute(InstallContext ctx)
|
protected void |
UpdateSecurityFilterClientCallbacksConfiguration.doExecute(InstallContext ctx)
|
protected void |
RenameACLNodesTask.doExecute(InstallContext installContext)
|
Uses of InstallContext in info.magnolia.setup.for5_0 |
---|
Methods in info.magnolia.setup.for5_0 with parameters of type InstallContext | |
---|---|
protected void |
ConvertMetaDataUpdateTask.doExecute(InstallContext installContext)
|
Uses of InstallContext in info.magnolia.setup.initial |
---|
Methods in info.magnolia.setup.initial with parameters of type InstallContext | |
---|---|
protected void |
UpdateURI2RepositoryMappings.doExecute(InstallContext ctx)
Creates the mappings node and delegates to the super UpdateURI2RepositoryMappings.doExecute(InstallContext) method. |
protected void |
AddFilterBypassTask.doExecute(InstallContext installContext)
|
protected void |
UpdateURI2RepositoryMappings.operateOnChildNode(Content node,
InstallContext ctx)
Moves every node to the mappings node. |
protected void |
AddURIPermissionsToAllRoles.operateOnChildNode(Content node,
InstallContext ctx)
|
protected void |
WarnIgnoredModuleFilters.operateOnModuleNode(Content node,
HierarchyManager hm,
InstallContext ctx)
|
protected void |
UpdateURIMappings.operateOnModuleNode(Content node,
HierarchyManager hm,
InstallContext ctx)
|
Uses of InstallContext in info.magnolia.templating.module.setup |
---|
Methods in info.magnolia.templating.module.setup with parameters of type InstallContext | |
---|---|
protected List<Task> |
TemplatingModuleVersionHandler.getExtraInstallTasks(InstallContext installContext)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |