info.magnolia.module.delta
Class AbstractTask
java.lang.Object
info.magnolia.module.delta.AbstractTask
- All Implemented Interfaces:
- Task
- Direct Known Subclasses:
- AbstractRepositoryTask, AddMainMenuItemTask, AddPermissionTask, AddRoleToUserTask, AddUserToGroupTask, BootstrapResourcesTask, ConditionalDelegateTask, InstallWorkflowDefinitionTask, ModuleFilesExtraction, PartialBootstrapTask, PropertyValuesTask, RegisterMgnlDeletedType, RegisterServletTask, RegisterWorkspaceForCacheFlushingTask, SetDefaultPublicURI, SetupModuleRepositoriesTask, WarnTask, WebappBootstrap
public abstract class AbstractTask
- extends Object
- implements Task
Abstract implementation of the Task interface which handles the mandatory properties name and description.
- Version:
- $Id$
Field Summary |
protected org.slf4j.Logger |
log
Deprecated. since 4.5 - declare proper static final Logger in sublcasses. |
Methods inherited from interface info.magnolia.module.delta.Task |
execute |
log
protected org.slf4j.Logger log
- Deprecated. since 4.5 - declare proper static final Logger in sublcasses.
AbstractTask
public AbstractTask(String taskName,
String taskDescription)
getName
public String getName()
- Description copied from interface:
Task
- Description of what has changed. Example: "New ACL configuration"
- Specified by:
getName
in interface Task
getDescription
public String getDescription()
- Description copied from interface:
Task
- Description what will happen during the execution. Example: "Bootstraps the new configuration for the ACL dialogs."
A good-citizen task description should be written in the third person, be understandable and respect capitalization
and punctuation rules. (start with capital letter, end with a dot)
- Specified by:
getDescription
in interface Task
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.