|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.pipeline.common.TaskManagerFactoryRegister
public class TaskManagerFactoryRegister
Maintains the set of task manager factories each identified by one or more unique names. This allows a pipeline to be configured dynamically such as from a user provided command line.
Constructor Summary | |
---|---|
TaskManagerFactoryRegister()
Creates a new instance. |
Method Summary | |
---|---|
TaskManagerFactory |
getInstance(java.lang.String taskType)
Get a task manager factory from the register. |
void |
register(java.lang.String taskType,
TaskManagerFactory factory)
Registers a new factory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TaskManagerFactoryRegister()
Method Detail |
---|
public void register(java.lang.String taskType, TaskManagerFactory factory)
taskType
- The name the factory is identified by.factory
- The factory to be registered.public TaskManagerFactory getInstance(java.lang.String taskType)
taskType
- The type of task requiring a factory.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |