public class TaskRegistryImpl extends Object implements TaskRegistry
| Constructor and Description |
|---|
TaskRegistryImpl() |
| Modifier and Type | Method and Description |
|---|---|
<IN,OUT,TASK extends Task<? super IN,OUT>> |
find(Class<TASK> taskType) |
Task<?,?> |
find(String alias) |
<IN,OUT> Task<IN,OUT> |
find(String alias,
Class<IN> inType,
Class<OUT> outType) |
<IN,OUT,TASK extends Task<? super IN,OUT>> |
register(Class<TASK> taskType,
String... aliases) |
<IN,OUT,TASK extends Task<? super IN,OUT>,TASK_FACTORY extends TaskFactory<IN,OUT,TASK>> |
register(Class<TASK> taskDef,
TASK_FACTORY taskFactory) |
<IN,OUT,TASK extends Task<? super IN,OUT>,TASK_FACTORY extends TaskFactory<IN,OUT,TASK>> |
register(TASK_FACTORY taskFactory) |
public <IN,OUT,TASK extends Task<? super IN,OUT>,TASK_FACTORY extends TaskFactory<IN,OUT,TASK>> TaskRegistry register(Class<TASK> taskDef, TASK_FACTORY taskFactory) throws InvalidTaskException
register in interface TaskRegistryInvalidTaskExceptionpublic <IN,OUT,TASK extends Task<? super IN,OUT>,TASK_FACTORY extends TaskFactory<IN,OUT,TASK>> TaskRegistry register(TASK_FACTORY taskFactory) throws InvalidTaskException
register in interface TaskRegistryInvalidTaskExceptionpublic <IN,OUT,TASK extends Task<? super IN,OUT>> TaskRegistry register(Class<TASK> taskType, String... aliases) throws InvalidTaskException
register in interface TaskRegistryInvalidTaskExceptionpublic <IN,OUT,TASK extends Task<? super IN,OUT>> TASK find(Class<TASK> taskType) throws InvalidTaskException
find in interface TaskRegistryInvalidTaskExceptionpublic Task<?,?> find(String alias) throws InvalidTaskException
find in interface TaskRegistryInvalidTaskExceptionpublic <IN,OUT> Task<IN,OUT> find(String alias, Class<IN> inType, Class<OUT> outType) throws InvalidTaskException
find in interface TaskRegistryInvalidTaskExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.