Uses of Interface
info.magnolia.module.delta.Task

Packages that use Task
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 Task in info.magnolia.module
 

Classes in info.magnolia.module that implement Task
 class AbstractModuleVersionHandler.ModuleVersionToLatestTask
          The task which modifies the "version" property to the version being installed.
 class AbstractModuleVersionHandler.ModuleVersionUpdateTask
          The task which modifies the "version" property to the version we're updating to.
 

Methods in info.magnolia.module that return types with arguments of type Task
protected  List<Task> DefaultModuleVersionHandler.getBasicInstallTasks(InstallContext installContext)
          This method should generally not be overridden.
protected abstract  List<Task> AbstractModuleVersionHandler.getBasicInstallTasks(InstallContext installContext)
           
protected  List<Task> AbstractModuleVersionHandler.getDefaultUpdateTasks(Version forVersion)
           
protected  List<Task> AbstractModuleVersionHandler.getExtraInstallTasks(InstallContext installContext)
          Override this method to add specific install tasks to your module.
protected  List<Task> AbstractModuleVersionHandler.getStartupTasks(InstallContext installContext)
          Override this method to add specific startup tasks to your module.
 

Uses of Task in info.magnolia.module.delta
 

Classes in info.magnolia.module.delta that implement Task
 class AbstractConditionalRepositoryTask
          An abstract implementation of a RepositoryTask that only needs to be executed when a specific node is not found in the repository.
 class AbstractRepositoryTask
          An abstract implementation of AbstractTask which simply wraps the execute call in a try/catch block, avoiding many verbose and irrelevant code lines in actual tasks, leaving room for smarter and more interesting exception handling, when they can actually be handled.
 class AbstractTask
          Abstract implementation of the Task interface which handles the mandatory properties name and description.
 class AddGroupToGroupTask
          A task to nest a group inside another, using GroupManager.
 class AddMimeMappingTask
          Task that adds a mime mapping to server/MIMEMapping.
 class AddPermissionTask
          A task to add a permission to a role, using RoleManager.
 class AddRoleToGroupTask
          A task to add a role to a group, using GroupManager.
 class AddRoleToUserTask
          A task to add a role to a user, using UserManager.
 class AddURIPermissionTask
          Adds a URI permission to a role.
 class AddUserToGroupTask
          A task to add a user to a group, using UserManager.
 class AllChildrenNodesOperation
          This task executes the abstract method on every child node.
 class AllModulesNodeOperation
          An abstract that will perform an operation on all modules node found in the configuration repository.
 class ArrayDelegateTask
          A task that simply delegates to an array of other tasks.
 class BackupTask
          Backs up a node in the same workspace under a specific backup path.
 class BootstrapConditionally
          A Task which bootstraps if the node targeted by the bootstrap file does not exist.
 class BootstrapResourcesTask
          Base class for tasks which bootstrap resources.
 class BootstrapSingleModuleResource
          Bootstraps a classpath resources relative to the module's bootstrap folder: /mgnl-bootstrap/<module-name>>.
 class BootstrapSingleResource
          A Task which bootstraps a single file.
 class BootstrapSingleResourceAndOrderBefore
          Bootstrap a single file, and places the bootstrapped node.
 class ChangeAllPropertiesWithCertainValueTask
          Changes all properties in an entire workspace that are of type PropertyType.STRING and has a certain value.
 class ChangeNodeTypeTask
          Changes a node type by delegating to ContentUtil.changeNodeType(Content, ItemType, boolean) with the last parameter set to false.
 class CheckAndModifyPartOfPropertyValueTask
          If the property (Property) contains the expected string, then it will be replaced by the new string.
 class CheckAndModifyPropertyValueTask
          If the specified property (NodeData) has the expected value, then it will be replaced by the new value.
 class CheckOrCreatePropertyTask
          Sets the specified property with a new value or creates the property with the new value.
 class ChildrenExistsDelegateTask
          A task that delegates to another depending on existence of children.
 class ConditionalDelegateTask
          A task that delegates to another if a condition is true, or to an optional other if it is false.
 class CopyNodeTask
          Copies a node by performing a in session copy operation.
 class CopyOrReplaceNodePropertiesTask
          Copies a node's properties to another node.
 class CreateNodePathTask
          A Task to create a full path, i.e the parent doesn't need to exist.
 class CreateNodeTask
          Creates a node in the given parent with the given name and type.
 class FilterOrderingTask
          Orders a filter after a given set of other filters.
 class IsAuthorInstanceDelegateTask
          A task that depends on the value of the /server/admin config value.
 class IsInstallSamplesTask
          A Task which delegates depending on the magnolia.bootstrap.samples property.
 class IsModuleInstalledOrRegistered
          A Task which delegates depending on the existence of a module.
 class ModuleBootstrapTask
          A task to bootstrap a module.
 class ModuleDependencyBootstrapTask
          A Task which will bootstrap files if an optional module is installed or registered: any resource under "/info/magnolia/module/moduleName/setup/dependencyName".
 class ModuleFilesExtraction
          A task which extracts all files for a module.
 class MoveAndRenamePropertyTask
          A task to move and rename properties, taking default values into account.
 class MoveNodeTask
          This task moves a specified Node to a new destination.
 class NewPropertyTask
          Creates a new property.
 class NodeCheckDelegateTask
          A task that delegates to another if a checkNode is true, or to an optional other if it is false.
 class NodeExistsDelegateTask
          A task that delegates to another depending on whether a specified node exists or not.
 class OrderFilterBeforeTask
          Orders a filter before a given set of other filters.
 class OrderNodeAfterTask
          Orders a node after the specified sibling node.
 class OrderNodeBeforeTask
          Orders a node before the specified sibling node.
 class PartialBootstrapTask
          This task is used to bootstrap a part of a file.
 class PropertiesImportTask
          A Task which will import nodes and properties using a .properties file.
 class PropertyExistsDelegateTask
          A task that delegates to another depending on whether a specified property exists or not.
 class PropertyValueDelegateTask
          A task which delegates to another if a property has a given value.
 class PropertyValuesTask
          A tasks that offers helper methods to check on certain properties.
 class QueryTask
          An abstract task to perform operations on nodes returned by a given query.
 class RegisterModuleServletsTask
          Reads the servlets to register from the module descriptor.
 class RegisterNodeTypeTask
          Registers (or re-registers) node type.
 class RegisterServletTask
          Registers a servlet definition from a module descriptor into the /server/filters/servlets node.
 class RemoveDuplicatePermissionTask
          A task to find and remove duplicate permission from a role and a workspace.
 class RemoveNodeTask
          Removes the specified node.
 class RemoveNodeWoChildren
          A task that removes node if that has no children.
 class RemovePermissionTask
          A task to remove a permission from a role, using RoleManager.
 class RemovePropertyTask
          Removes a property and optionally logs its absence.
 class RenameNodesTask
          Renames all nodes having a certain name and nodeType to the provided new name.
 class RenamePropertyAllModulesNodeTask
          Renames a property found in a given subnode of all modules; typically, renames "path" to "templatePath" for all nodes under "paragraphs" for each module.
 class ReplaceIfExistsTask
          A task which replaces a node by bootstrapping a file, only if it exists.
 class SamplesBootstrapTask
          A task which bootstraps the module's content under /mgnl-bootstrap-samples/ if the magnolia.bootstrap.samples property is set the true.
 class SetPropertyTask
          Sets a new value for a property.
 class SetupModuleRepositoriesTask
          Bootstrap empty repositories for the current module.
 class WarnTask
          A task which does nothing else than logging a warning message.
 

Methods in info.magnolia.module.delta that return types with arguments of type Task
 List<Task> DeltaBuilder.getTasks()
           
 List<Task> Delta.getTasks()
          Should not return a read-only List, as the version handler might add tasks as appropriate.
 

Methods in info.magnolia.module.delta with parameters of type Task
 DeltaBuilder DeltaBuilder.addTask(Task t)
           
 void ArrayDelegateTask.addTask(Task task)
          Tasks are meant to be immutable.
static DeltaBuilder DeltaBuilder.update(Version toVersion, String description, Task task)
          Convenience factory method for an Update Delta with a single task.
 

Method parameters in info.magnolia.module.delta with type arguments of type Task
 DeltaBuilder DeltaBuilder.addTasks(List<Task> tasks)
           
static DeltaBuilder DeltaBuilder.startup(ModuleDefinition moduleDef, List<Task> tasks)
           
 

Constructors in info.magnolia.module.delta with parameters of type Task
ArrayDelegateTask(String name, String description, Task... tasks)
           
ArrayDelegateTask(String name, Task... tasks)
           
BootstrapConditionally(String taskName, String taskDescription, String repositoryName, String pathToCheck, String resourceToBootstrap, Task ifNodeExists)
          Executes the given task if the specified node exists in the specific repository, bootstraps the given resource otherwise.
BootstrapConditionally(String taskName, String taskDescription, String resourceToBootstrap, Task ifNodeExists)
          Bootstraps the given resource if the corresponding node does not exist yet, executes the given task otherwise.
ChildrenExistsDelegateTask(String name, String description, String workspaceName, String pathToCheck, String contentType, Task ifTrue)
           
ChildrenExistsDelegateTask(String name, String description, String workspaceName, String pathToCheck, String contentType, Task ifTrue, Task ifFalse)
           
ConditionalDelegateTask(String taskName, String taskDescription, Task ifTrue)
           
ConditionalDelegateTask(String taskName, String taskDescription, Task ifTrue, Task ifFalse)
           
IsAuthorInstanceDelegateTask(String taskName, String taskDescription, Task isAuthor)
           
IsAuthorInstanceDelegateTask(String taskName, String taskDescription, Task isAuthor, Task isPublic)
           
IsInstallSamplesTask(String taskName, String taskDescription, Task ifTrue)
           
IsInstallSamplesTask(String taskName, String taskDescription, Task ifTrue, Task ifFalse)
           
IsModuleInstalledOrRegistered(String taskName, String taskDescription, String moduleName, Task ifTrue)
           
IsModuleInstalledOrRegistered(String taskName, String taskDescription, String moduleName, Task ifTrue, Task ifFalse)
           
NodeCheckDelegateTask(String taskName, String taskDescription, String workspaceName, String nodePath, String propertyName, Task ifTrue, Task ifFalse)
           
NodeExistsDelegateTask(String name, String description, String workspaceName, String pathToCheck, Task ifTrue)
           
NodeExistsDelegateTask(String name, String description, String workspaceName, String pathToCheck, Task ifTrue, Task ifFalse)
           
PropertyExistsDelegateTask(String taskName, String taskDescription, String workspaceName, String parentPath, String propertyName, Task ifTrue)
           
PropertyExistsDelegateTask(String taskName, String taskDescription, String workspaceName, String parentPath, String propertyName, Task ifTrue, Task ifFalse)
           
PropertyValueDelegateTask(String taskName, String taskDescription, String workspaceName, String nodePath, String propertyName, String expectedValue, boolean propertyMustExist, Task ifTrue)
           
PropertyValueDelegateTask(String taskName, String taskDescription, String workspaceName, String nodePath, String propertyName, String expectedValue, boolean propertyMustExist, Task ifTrue, Task ifFalse)
           
 

Uses of Task in info.magnolia.module.webapp
 

Classes in info.magnolia.module.webapp that implement Task
 class WebappBootstrap
          A Task used by the webapp module's version handler to bootstrap files under WEB-INF/bootstrap (i.e directories defined by the magnolia.bootstrap.dir property) TODO : exception handling...
 

Methods in info.magnolia.module.webapp that return types with arguments of type Task
 List<Task> WebappDelta.getTasks()
           
 

Uses of Task in info.magnolia.nodebuilder.task
 

Classes in info.magnolia.nodebuilder.task that implement Task
 class AbstractNodeBuilderTask
          Base class for Tasks using the node builder API.
 class ModuleConfigNodeBuilderTask
          A task using the NodeBuilder API, applying operations on a the config node of the current module.
 class ModuleNodeBuilderTask
          A task using the NodeBuilder API, applying operations on a the root node of the current module.
 class NodeBuilderTask
          A task using the NodeBuilder API, applying operations on a given path.
 

Uses of Task in info.magnolia.setup
 

Classes in info.magnolia.setup that implement Task
 class HashUsersPasswords
          Task to encrypt base64 encoded passwords.
 

Methods in info.magnolia.setup that return types with arguments of type Task
protected  List<Task> CoreModuleVersionHandler.getBasicInstallTasks(InstallContext ctx)
           
 

Uses of Task in info.magnolia.setup.for4_5
 

Classes in info.magnolia.setup.for4_5 that implement Task
 class RenameACLNodesTask
          Renames ACL nodes for all roles from the old format of acl_repositoryName_workspaceName to acl_workspaceName.
 class UpdateSecurityFilterClientCallbacksConfiguration
          Updates the given security filter's client callback configuration to reflect the changes introduced in 4.5.
 class UpdateUserManagers
          Updates user managers with properties used in account lockout feature.
 

Uses of Task in info.magnolia.setup.for5_0
 

Classes in info.magnolia.setup.for5_0 that implement Task
 class ConvertMetaDataUpdateTask
          Update task for migration content with MetaData sub nodes to instead use mixins on the content node itself.
 

Uses of Task in info.magnolia.setup.initial
 

Classes in info.magnolia.setup.initial that implement Task
 class AddFilterBypassTask
          Adds bypass to an existing filter.
 class AddURIPermissionsToAllRoles
          Adds URI permissions to all roles.
 class LoginAuthTypePropertyMovedToFilter
          Updates authentication type configuration.
 class LoginFormPropertyMovedToFilter
          Updates login form location.
 class UpdateURI2RepositoryMappings
          Updates format of URI2Repository mappings to format used since 3.5.
 class UpdateURIMappings
          Updates virtualURIMappings to the format suitable for c2b.
 class WarnIgnoredModuleFilters
          Checks if installed modules contain filter definitions and if so warns on installation with an appropriate message.
 

Methods in info.magnolia.setup.initial that return types with arguments of type Task
static List<Task> GenericTasks.genericTasksForNewInstallation()
           
 

Uses of Task in info.magnolia.templating.module.setup
 

Methods in info.magnolia.templating.module.setup that return types with arguments of type Task
protected  List<Task> TemplatingModuleVersionHandler.getExtraInstallTasks(InstallContext installContext)
           
 



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