fr.paris.lutece.plugins.workflow.business.task
Class TaskFactory

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.business.task.TaskFactory
All Implemented Interfaces:
ITaskFactory

public class TaskFactory
extends java.lang.Object
implements ITaskFactory

TaskFactory


Constructor Summary
TaskFactory()
           
 
Method Summary
 java.util.Collection<ITaskType> getAllTaskType()
          
 ITask getTask(java.lang.String strKey)
          return an instance of Task Object depending on the task type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskFactory

public TaskFactory()
Method Detail

getTask

public ITask getTask(java.lang.String strKey)
return an instance of Task Object depending on the task type

Specified by:
getTask in interface ITaskFactory
Parameters:
strKey - the type task key
Returns:
an instance of Task Object

getAllTaskType

public java.util.Collection<ITaskType> getAllTaskType()

Specified by:
getAllTaskType in interface ITaskFactory
Returns:
a collection of TaskType


Copyright © 2011 Mairie de Paris. All Rights Reserved.