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.initial | |
info.magnolia.setup.nodetype | |
info.magnolia.templating.module.setup |
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 |
NodeBuilderTask.getRootNode(InstallContext ctx) |
protected javax.jcr.Node |
ModuleNodeBuilderTask.getRootNode(InstallContext ctx) |
protected javax.jcr.Node |
ModuleConfigNodeBuilderTask.getRootNode(InstallContext ctx) |
protected abstract javax.jcr.Node |
AbstractNodeBuilderTask.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 |
ModuleManagerImpl.getInstallContext() |
InstallContext |
ModuleManager.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 |
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.
|
void |
BootstrapSingleModuleResource.bootstrap(InstallContext installContext,
int importUUIDBehavior) |
protected void |
BootstrapResourcesTask.bootstrap(InstallContext installContext,
int importUUIDBehavior) |
boolean |
WarnCondition.check(InstallContext installContext) |
boolean |
TrueCondition.check(InstallContext installContext) |
boolean |
NoSameNameSiblingsCondition.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)
Deprecated.
since 5.2.2, use
instead . |
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) |
protected boolean |
PropertyExistsDelegateTask.checkNode(Content node,
InstallContext ctx) |
protected abstract boolean |
NodeCheckDelegateTask.checkNode(Content node,
InstallContext ctx) |
protected boolean |
ValueOfPropertyDelegateTask.checkNode(javax.jcr.Node node,
InstallContext ctx) |
protected boolean |
HasPropertyDelegateTask.checkNode(javax.jcr.Node node,
InstallContext ctx) |
protected abstract boolean |
CheckNodeDelegateTask.checkNode(javax.jcr.Node node,
InstallContext ctx) |
protected void |
PropertyValuesTask.checkOrCreateProperty(InstallContext ctx,
Content node,
String propertyName,
String expectedValue)
Deprecated.
since 5.2.2, use
PropertyValuesTask.checkOrCreateProperty(InstallContext, Node, String, String) instead. |
protected void |
PropertyValuesTask.checkOrCreateProperty(InstallContext ctx,
javax.jcr.Node node,
String propertyName,
String expectedValue) |
protected boolean |
PathExistenceDelegateTask.condition(InstallContext ctx) |
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 boolean |
CheckNodeDelegateTask.condition(InstallContext ctx) |
void |
RenamePropertiesTask.doExecute(InstallContext installContext) |
protected void |
RenameNodesTask.doExecute(InstallContext installContext) |
protected void |
RemovePropertiesTask.doExecute(InstallContext ctx) |
protected void |
RemovePermissionTask.doExecute(InstallContext ctx) |
protected void |
RemoveNodeWoChildren.doExecute(InstallContext ctx) |
protected void |
RemoveNodesTask.doExecute(InstallContext ctx) |
protected void |
RemoveInstallFilesTask.doExecute(InstallContext ctx) |
protected void |
RemoveDuplicatePermissionTask.doExecute(InstallContext ctx) |
protected void |
RegisterNodeTypeTask.doExecute(InstallContext installContext) |
protected void |
QueryTask.doExecute(InstallContext installContext) |
protected void |
QueryElementsAndDisplayWarningTask.doExecute(InstallContext installContext) |
protected void |
PropertiesImportTask.doExecute(InstallContext installContext) |
protected void |
OrderNodeToFirstPositionTask.doExecute(InstallContext installContext) |
protected void |
OrderNodeTo1stPosTask.doExecute(InstallContext installContext)
Deprecated.
|
protected void |
OrderNodeBeforeTask.doExecute(InstallContext installContext) |
protected void |
OrderNodeAfterTask.doExecute(InstallContext installContext) |
protected void |
OrderFilterBeforeTask.doExecute(InstallContext ctx) |
protected void |
NodeVisitorTask.doExecute(InstallContext installContext) |
protected void |
MovePropertyTask.doExecute(InstallContext installContext) |
protected void |
MoveNodeTask.doExecute(InstallContext installContext) |
protected void |
MoveAndRenamePropertyTask.doExecute(InstallContext ctx) |
protected void |
FindAndChangeTemplateIdTask.doExecute(InstallContext installContext) |
protected void |
FilterOrderingTask.doExecute(InstallContext ctx) |
protected void |
CreateNodeTask.doExecute(InstallContext installContext) |
protected void |
CreateNodePathTask.doExecute(InstallContext installContext) |
protected void |
CopyPropertyTask.doExecute(InstallContext installContext) |
protected void |
CopyOrReplaceNodePropertiesTask.doExecute(InstallContext ctx) |
protected void |
CopyNodeTask.doExecute(InstallContext installContext) |
protected void |
ChangeVirtualUriMappingTask.doExecute(InstallContext installContext) |
void |
ChangeTemplateTask.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)
Executes task and adds role to the specified group.
|
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 |
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 |
SetDefaultPublicURITask.execute(InstallContext context) |
void |
RegisterServletTask.execute(InstallContext installContext) |
void |
RegisterModuleServletsTask.execute(InstallContext installContext) |
void |
PartialBootstrapTask.execute(InstallContext ctx)
Deprecated.
|
void |
NewPropertyTask.execute(InstallContext ctx) |
void |
ModuleFilesExtraction.execute(InstallContext ctx) |
void |
FixUserRolePermissionsPropertyTask.execute(InstallContext installContext) |
void |
ExecuteCommandTask.execute(InstallContext installContext) |
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)
Deprecated.
|
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 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,
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 |
FindAndChangeTemplateIdTask.operateOnNode(InstallContext installContext,
javax.jcr.Node node) |
protected void |
ChangeAllPropertiesWithCertainValueTask.operateOnNode(InstallContext installContext,
javax.jcr.Node node) |
protected void |
AddUsersPermissionTask.operateOnNode(InstallContext installContext,
javax.jcr.Node user) |
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 |
NodeBuilderTask.getRootNode(InstallContext ctx)
Deprecated.
|
protected Content |
ModuleNodeBuilderTask.getRootNode(InstallContext ctx)
Deprecated.
|
protected Content |
ModuleConfigNodeBuilderTask.getRootNode(InstallContext ctx)
Deprecated.
|
protected abstract Content |
AbstractNodeBuilderTask.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 |
RenameVersionNodesTask.doExecute(InstallContext installContext) |
protected void |
MigrateVersionWorkspacesToNewStructureTask.doExecute(InstallContext installContext) |
protected List<Task> |
CoreModuleVersionHandler.getBasicInstallTasks(InstallContext ctx) |
protected void |
HashUsersPasswords.operateOnChildNode(Content node,
InstallContext ctx) |
protected void |
ChangeNodeTypeOfSubAppsTask.operateOnNode(InstallContext installContext,
javax.jcr.Node node) |
Modifier and Type | Method and Description |
---|---|
protected void |
UpdateUserManagers.doExecute(InstallContext ctx) |
protected void |
UpdateSecurityFilterClientCallbacksConfiguration.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 |
IdentifySameNameSiblingNodesTask.doExecute(InstallContext installContext) |
protected void |
GrantReadPermissionToRolesTask.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 |
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) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractNodeTypeRegistrationTask.doExecute(InstallContext installContext) |
Modifier and Type | Method and Description |
---|---|
protected List<Task> |
TemplatingModuleVersionHandler.getExtraInstallTasks(InstallContext installContext) |
Copyright © 2003–2017 Magnolia International Ltd.. All rights reserved.