info.magnolia.module.workflow.setup
Class InstallWorkflowDefinitionTask

java.lang.Object
  extended by info.magnolia.module.delta.AbstractTask
      extended by info.magnolia.module.workflow.setup.InstallWorkflowDefinitionTask
All Implemented Interfaces:
info.magnolia.module.delta.Task

public class InstallWorkflowDefinitionTask
extends info.magnolia.module.delta.AbstractTask

Sets up a workflow definition. Does not use the FlowDefinitionManager because tasks are not supposed to save their changes to the repositories.

Version:
$Revision: $ ($Author: $)
Author:
gjoseph

Field Summary
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
log
 
Constructor Summary
InstallWorkflowDefinitionTask(String taskName, String taskDescription, String flowName, String resourcePath)
           
 
Method Summary
 void execute(info.magnolia.module.InstallContext ctx)
           
 
Methods inherited from class info.magnolia.module.delta.AbstractTask
getDescription, getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InstallWorkflowDefinitionTask

public InstallWorkflowDefinitionTask(String taskName,
                                     String taskDescription,
                                     String flowName,
                                     String resourcePath)
Method Detail

execute

public void execute(info.magnolia.module.InstallContext ctx)
             throws info.magnolia.module.delta.TaskExecutionException
Throws:
info.magnolia.module.delta.TaskExecutionException


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