Package | Description |
---|---|
info.magnolia.freemarker.setup | |
info.magnolia.i18nsystem.setup | |
info.magnolia.jcr.nodebuilder.task | |
info.magnolia.module | |
info.magnolia.module.delta | |
info.magnolia.module.model.reader | |
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.rendering.module.setup | |
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.for5_2 | |
info.magnolia.setup.for6_0 | |
info.magnolia.setup.initial | |
info.magnolia.setup.nodetype | |
info.magnolia.templating.module.setup | |
info.magnolia.virtualuri.setup | |
info.magnolia.virtualuri.setup.delta |
Modifier and Type | Method and Description |
---|---|
protected List<Task> |
FreemarkerSupportModuleVersionHandler.getBasicInstallTasks(InstallContext installContext) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractRemoveHardcodedI18nPropertiesTask.doExecute(InstallContext installContext) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractNodeBuilderTask.doExecute(InstallContext ctx) |
protected javax.jcr.Node |
ModuleConfigNodeBuilderTask.getRootNode(InstallContext ctx) |
protected javax.jcr.Node |
ModuleNodeBuilderTask.getRootNode(InstallContext ctx) |
protected abstract javax.jcr.Node |
AbstractNodeBuilderTask.getRootNode(InstallContext ctx) |
protected javax.jcr.Node |
NodeBuilderTask.getRootNode(InstallContext ctx) |
protected ErrorHandler |
AbstractNodeBuilderTask.newErrorHandler(InstallContext ctx) |
Constructor and Description |
---|
TaskLogErrorHandler(InstallContext installCtx) |
Modifier and Type | Class and Description |
---|---|
class |
InstallContextImpl
Default implementation of
InstallContext ; provided by the ModuleManager . |
Modifier and Type | Method and Description |
---|---|
InstallContext |
ModuleManager.getInstallContext() |
InstallContext |
ModuleManagerImpl.getInstallContext() |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
BootstrapResourcesTask.acceptResource(InstallContext installContext,
String resourceName)
Override this method to filter resources to bootstrap.
|
protected boolean |
ModuleBootstrapTask.acceptResource(InstallContext ctx,
String resourceName)
Accepts any resource under "/mgnl-bootstrap/moduleName" including any subfolders.
|
protected void |
BootstrapResourcesTask.bootstrap(InstallContext installContext,
int importUUIDBehavior) |
protected void |
BootstrapSingleResource.bootstrap(InstallContext installContext,
int importUUIDBehavior) |
void |
BootstrapSingleModuleResource.bootstrap(InstallContext installContext,
int importUUIDBehavior) |
boolean |
WarnCondition.check(InstallContext installContext) |
boolean |
NoSameNameSiblingsCondition.check(InstallContext installContext) |
boolean |
Condition.check(InstallContext installContext) |
boolean |
FalseCondition.check(InstallContext installContext) |
boolean |
TrueCondition.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,
javax.jcr.Node node,
String propertyName,
Collection<String> expectedCurrentValues,
String newValue)
Checks that the given String property has one of the expected values.
|
protected void |
PropertyValuesTask.checkAndModifyPropertyValue(InstallContext ctx,
javax.jcr.Node 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)
Deprecated.
|
protected abstract boolean |
NodeCheckDelegateTask.checkNode(Content node,
InstallContext ctx)
Deprecated.
|
protected boolean |
PropertyExistsDelegateTask.checkNode(Content node,
InstallContext ctx)
Deprecated.
|
protected boolean |
ValueOfPropertyDelegateTask.checkNode(javax.jcr.Node node,
InstallContext ctx) |
protected abstract boolean |
CheckNodeDelegateTask.checkNode(javax.jcr.Node node,
InstallContext ctx) |
protected boolean |
HasPropertyDelegateTask.checkNode(javax.jcr.Node node,
InstallContext ctx) |
protected void |
PropertyValuesTask.checkOrCreateProperty(InstallContext ctx,
javax.jcr.Node node,
String propertyName,
String expectedValue) |
protected boolean |
NodeCheckDelegateTask.condition(InstallContext ctx)
Deprecated.
|
protected boolean |
IsInstallSamplesTask.condition(InstallContext installContext) |
protected boolean |
IsModuleInstalledOrRegistered.condition(InstallContext ctx) |
protected boolean |
PathExistenceDelegateTask.condition(InstallContext ctx) |
protected boolean |
CheckNodeDelegateTask.condition(InstallContext ctx) |
protected boolean |
ChildrenExistsDelegateTask.condition(InstallContext ctx) |
protected boolean |
NodeExistsDelegateTask.condition(InstallContext ctx) |
protected abstract boolean |
ConditionalDelegateTask.condition(InstallContext installContext) |
protected void |
PropertiesImportTask.doExecute(InstallContext installContext)
Deprecated.
|
protected void |
AllChildrenNodesOperation.doExecute(InstallContext ctx)
Deprecated.
|
protected void |
QueryElementsAndDisplayWarningTask.doExecute(InstallContext installContext) |
protected void |
MoveAndRenamePropertyTask.doExecute(InstallContext ctx) |
protected void |
CopyOrReplaceNodePropertiesTask.doExecute(InstallContext ctx) |
protected void |
ChangeAllPropertiesWithCertainValueTask.doExecute(InstallContext installContext) |
protected void |
CopyPropertyTask.doExecute(InstallContext installContext) |
protected void |
RegisterNodeTypeTask.doExecute(InstallContext installContext) |
protected void |
AddMimeMappingTask.doExecute(InstallContext ctx) |
protected void |
CreateNodeTask.doExecute(InstallContext installContext) |
protected void |
QueryTask.doExecute(InstallContext installContext) |
protected void |
OrderNodeToFirstPositionTask.doExecute(InstallContext installContext) |
protected void |
AddRoleToGroupTask.doExecute(InstallContext ctx)
Executes task and adds role to the specified group.
|
protected void |
ChangeNodeTypeTask.doExecute(InstallContext ctx) |
protected void |
MoveNodeTask.doExecute(InstallContext installContext) |
protected void |
MovePropertyTask.doExecute(InstallContext installContext) |
protected void |
CopyNodeTask.doExecute(InstallContext installContext) |
protected void |
NodeVisitorTask.doExecute(InstallContext installContext) |
protected void |
OrderNodeTo1stPosTask.doExecute(InstallContext installContext)
Deprecated.
|
protected void |
RemovePropertiesTask.doExecute(InstallContext ctx) |
protected void |
AddGroupToGroupTask.doExecute(InstallContext ctx) |
protected void |
RemoveNodesTask.doExecute(InstallContext ctx) |
protected void |
RemoveDuplicatePermissionTask.doExecute(InstallContext ctx) |
protected void |
OrderNodeBeforeTask.doExecute(InstallContext installContext) |
protected void |
RemoveInstallFilesTask.doExecute(InstallContext ctx) |
protected void |
ChangeVirtualUriMappingTask.doExecute(InstallContext installContext) |
protected void |
ImportNodesFromPropertiesTask.doExecute(InstallContext installContext) |
protected abstract void |
AbstractRepositoryTask.doExecute(InstallContext installContext) |
void |
ChangeTemplateTask.doExecute(InstallContext installContext) |
protected void |
RemoveNodeWoChildren.doExecute(InstallContext ctx) |
protected void |
OrderNodeAfterTask.doExecute(InstallContext installContext) |
protected void |
CreateNodePathTask.doExecute(InstallContext installContext) |
protected void |
FindAndChangeTemplateIdTask.doExecute(InstallContext installContext) |
protected void |
FilterOrderingTask.doExecute(InstallContext ctx) |
void |
RenamePropertiesTask.doExecute(InstallContext installContext) |
protected void |
OrderFilterBeforeTask.doExecute(InstallContext ctx) |
protected void |
RemovePermissionTask.doExecute(InstallContext ctx) |
protected void |
RenameNodesTask.doExecute(InstallContext installContext) |
void |
BootstrapResourcesTask.execute(InstallContext installContext) |
void |
SetupModuleRepositoriesTask.execute(InstallContext ctx) |
void |
RegisterModuleServletsTask.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.
|
void |
ArrayDelegateTask.execute(InstallContext ctx) |
void |
BackupTask.execute(InstallContext ctx) |
void |
WarnTask.execute(InstallContext installContext) |
void |
AddUserToGroupTask.execute(InstallContext ctx) |
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 |
ModuleFilesExtraction.execute(InstallContext ctx) |
void |
CheckOrCreatePropertyTask.execute(InstallContext ctx) |
void |
PartialBootstrapTask.execute(InstallContext ctx)
Deprecated.
|
void |
CheckAndModifyPartOfPropertyValueTask.execute(InstallContext ctx) |
void |
AddPermissionTask.execute(InstallContext ctx) |
void |
CheckAndModifyPropertyValueTask.execute(InstallContext ctx) |
void |
AbstractRepositoryTask.execute(InstallContext installContext) |
void |
FixUserRolePermissionsPropertyTask.execute(InstallContext installContext) |
void |
ExecuteCommandTask.execute(InstallContext installContext) |
void |
RegisterServletTask.execute(InstallContext installContext) |
void |
SetDefaultPublicURITask.execute(InstallContext context) |
void |
SetPropertyTask.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 |
AddRoleToUserTask.execute(InstallContext ctx) |
void |
ConditionalDelegateTask.execute(InstallContext ctx) |
void |
NewPropertyTask.execute(InstallContext ctx) |
protected HierarchyManager |
AllModulesNodeOperation.getHierarchyManager(InstallContext ctx)
Deprecated.
|
protected Content |
AllChildrenNodesOperation.getParentNode(InstallContext ctx)
Deprecated.
|
protected Content |
AllModulesNodeOperation.getParentNode(InstallContext ctx)
Deprecated.
|
protected String[] |
BootstrapResourcesTask.getResourcesToBootstrap(InstallContext installContext)
Override this method to bootstrap specific resource files.
|
protected String[] |
BootstrapSingleResource.getResourcesToBootstrap(InstallContext installContext) |
protected String[] |
BootstrapSingleModuleResource.getResourcesToBootstrap(InstallContext installContext) |
protected void |
PropertyValuesTask.newProperty(InstallContext ctx,
javax.jcr.Node node,
String propertyName,
Object value)
Checks that the given property does not exist and creates it with the given value, logs otherwise.
|
protected abstract void |
AllChildrenNodesOperation.operateOnChildNode(Content node,
InstallContext ctx)
Deprecated.
|
protected void |
AllModulesNodeOperation.operateOnChildNode(Content node,
InstallContext ctx)
Deprecated.
|
protected void |
RenamePropertyAllModulesNodeTask.operateOnModuleNode(Content node,
HierarchyManager hm,
InstallContext ctx)
Deprecated.
|
protected abstract void |
AllModulesNodeOperation.operateOnModuleNode(Content node,
HierarchyManager hm,
InstallContext ctx)
Deprecated.
|
protected void |
ChangeAllPropertiesWithCertainValueTask.operateOnNode(InstallContext installContext,
javax.jcr.Node node) |
protected abstract void |
QueryTask.operateOnNode(InstallContext installContext,
javax.jcr.Node node) |
protected abstract void |
NodeVisitorTask.operateOnNode(InstallContext installContext,
javax.jcr.Node node)
Implement this method to apply changes to each of the nodes that are matched by
NodeVisitorTask.nodeMatches(Node) . |
protected void |
AddUsersPermissionTask.operateOnNode(InstallContext installContext,
javax.jcr.Node user) |
protected void |
FindAndChangeTemplateIdTask.operateOnNode(InstallContext installContext,
javax.jcr.Node node) |
Modifier and Type | Method and Description |
---|---|
Version |
LightModuleDefinitionReader.LightModuleVersionHandler.getCurrentlyInstalled(InstallContext ctx) |
List<Delta> |
LightModuleDefinitionReader.LightModuleVersionHandler.getDeltas(InstallContext installContext,
Version from) |
Delta |
LightModuleDefinitionReader.LightModuleVersionHandler.getStartupDelta(InstallContext ctx) |
Modifier and Type | Method and Description |
---|---|
void |
WebappBootstrap.execute(InstallContext installContext) |
Version |
WebappVersionHandler.getCurrentlyInstalled(InstallContext ctx) |
List<Delta> |
WebappVersionHandler.getDeltas(InstallContext ctx,
Version from) |
Delta |
WebappVersionHandler.getStartupDelta(InstallContext ctx) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractNodeBuilderTask.doExecute(InstallContext ctx)
Deprecated.
|
protected Content |
ModuleConfigNodeBuilderTask.getRootNode(InstallContext ctx)
Deprecated.
|
protected Content |
ModuleNodeBuilderTask.getRootNode(InstallContext ctx)
Deprecated.
|
protected abstract Content |
AbstractNodeBuilderTask.getRootNode(InstallContext ctx)
Deprecated.
|
protected Content |
NodeBuilderTask.getRootNode(InstallContext ctx)
Deprecated.
|
protected ErrorHandler |
AbstractNodeBuilderTask.newErrorHandler(InstallContext ctx)
Deprecated.
|
Constructor and Description |
---|
TaskLogErrorHandler(InstallContext installCtx)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
InstallRendererContextAttributeTask.doExecute(InstallContext installContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
SystemTmpDirCondition.check(InstallContext installContext) |
protected void |
MigrateVersionWorkspacesToNewStructureTask.doExecute(InstallContext installContext) |
protected void |
RenameVersionNodesTask.doExecute(InstallContext installContext) |
protected List<Task> |
CoreModuleVersionHandler.getBasicInstallTasks(InstallContext ctx) |
protected void |
HashUsersPasswords.operateOnChildNode(Content node,
InstallContext ctx)
Deprecated.
|
protected void |
ChangeNodeTypeOfSubAppsTask.operateOnNode(InstallContext installContext,
javax.jcr.Node node) |
Modifier and Type | Method and Description |
---|---|
protected void |
UpdateSecurityFilterClientCallbacksConfiguration.doExecute(InstallContext ctx)
Deprecated.
|
protected void |
UpdateUserManagers.doExecute(InstallContext ctx) |
protected void |
RenameACLNodesTask.doExecute(InstallContext installContext) |
Modifier and Type | Method and Description |
---|---|
protected void |
ConvertMetaDataUpdateTask.doExecute(InstallContext installContext) |
protected void |
CheckOrCreateLastActivatedPropertyTask.doExecute(InstallContext installContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
IsNotAProblematicEnvironmentCondition.check(InstallContext installContext) |
protected void |
GrantReadPermissionToRolesTask.doExecute(InstallContext installContext) |
protected void |
IdentifySameNameSiblingNodesTask.doExecute(InstallContext installContext) |
protected void |
RenameSameNameSiblingNodesTask.handleNode(javax.jcr.Node node,
InstallContext installContext) |
protected void |
IdentifySameNameSiblingNodesTask.handleNode(javax.jcr.Node node,
InstallContext installContext)
Take action on a sibling node.
In this case, simply display in the install screen the sibling node name and path. |
protected void |
RemoveOpenWFEPermissionsTask.operateOnNode(InstallContext installContext,
javax.jcr.Node node) |
protected void |
GrantReadPermissionToRolesTask.operateOnNode(InstallContext installContext,
javax.jcr.Node node) |
Modifier and Type | Method and Description |
---|---|
protected void |
RemoveMIMEIconsTask.operateOnNode(InstallContext installContext,
javax.jcr.Node node) |
Modifier and Type | Method and Description |
---|---|
protected void |
UpdateURI2RepositoryMappings.doExecute(InstallContext ctx)
Deprecated.
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)
Deprecated.
Moves every node to the mappings node.
|
protected void |
AddURIPermissionsToAllRoles.operateOnChildNode(Content node,
InstallContext ctx)
Deprecated.
|
protected void |
UpdateURIMappings.operateOnModuleNode(Content node,
HierarchyManager hm,
InstallContext ctx)
Deprecated.
|
protected void |
WarnIgnoredModuleFilters.operateOnModuleNode(Content node,
HierarchyManager hm,
InstallContext ctx)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractNodeTypeRegistrationTask.doExecute(InstallContext installContext) |
Modifier and Type | Method and Description |
---|---|
protected List<Task> |
TemplatingModuleVersionHandler.getExtraInstallTasks(InstallContext installContext) |
Modifier and Type | Method and Description |
---|---|
protected List<Task> |
VirtualUriModuleVersionHandler.getExtraInstallTasks(InstallContext installContext) |
Modifier and Type | Method and Description |
---|---|
protected void |
UpdateMappingClassesAndPropertiesTask.doExecute(InstallContext installContext) |
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.