public class DefaultTaskFactoryImpl extends Object implements TaskFactory
Default implementation of a task factory.
| Constructor and Description |
|---|
DefaultTaskFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
Task |
fromName(String name)
Determine the task to execute from the given name.
|
List<String> |
getTaskNames() |
List<Task> |
getTasks() |
public Task fromName(String name) throws CliExecutionException
TaskFactoryDetermine the task to execute from the given name.
fromName in interface TaskFactoryname - The name.CliExecutionExceptionpublic List<Task> getTasks()
getTasks in interface TaskFactorypublic List<String> getTaskNames()
getTaskNames in interface TaskFactoryCopyright © 2016 buschmais GbR. All rights reserved.