| Package | Description |
|---|---|
| org.arquillian.spacelift | |
| org.arquillian.spacelift.task |
| Modifier and Type | Method and Description |
|---|---|
static <IN,OUT,TASK extends Task<? super IN,OUT>> |
Spacelift.task(Class<TASK> taskDef)
Creates a task based on task definition
|
static <IN,OUT,TASK extends Task<? super IN,OUT>> |
Spacelift.task(IN input,
Class<TASK> taskDef)
Creates a task based on task definition and passes initial input to it
|
| Modifier and Type | Method and Description |
|---|---|
static Task<?,?> |
Spacelift.task(Object input,
String alias)
Creates a task based on task definition stored under alias and passes initial input to it
|
static Task<?,?> |
Spacelift.task(String alias)
Creates a task based on task definition stored under alias
|
| Modifier and Type | Class and Description |
|---|---|
class |
NoArgConstructorTaskFactory<IN,OUT,TASK extends Task<? super IN,OUT>> |
interface |
TaskFactory<IN,OUT,TASK extends Task<? super IN,OUT>>
A factory that is able to create tasks instances
|
| Modifier and Type | Class and Description |
|---|---|
class |
InjectTask<NEXT_IN> |
| Modifier and Type | Method and Description |
|---|---|
<IN,OUT,TASK extends Task<? super IN,OUT>> |
TaskRegistry.find(Class<TASK> taskType)
Finds task by its type.
|
<IN,OUT,TASK extends Task<? super IN,OUT>> |
TaskRegistry.register(Class<TASK> taskType,
String... aliases)
Registers
NoArgConstructorTaskFactory for the task type. |
<IN,OUT,TASK extends Task<? super IN,OUT>,TASK_FACTORY extends TaskFactory<IN,OUT,TASK>> |
TaskRegistry.register(Class<TASK> taskDef,
TASK_FACTORY taskFactory)
Registers task factory in the registry.
|
<IN,OUT,TASK extends Task<? super IN,OUT>,TASK_FACTORY extends TaskFactory<IN,OUT,TASK>> |
TaskRegistry.register(TASK_FACTORY taskFactory)
Registers task factory in the registry.
|
<OUT_2,TASK_2 extends Task<? super OUT,OUT_2>> |
Task.then(Class<TASK_2> nextTask)
Allows to connect current task with next task, given the output of this task matches input of next task
|
| Modifier and Type | Method and Description |
|---|---|
Task<?,?> |
TaskRegistry.find(String alias)
Finds task by its alias.
|
<IN,OUT> Task<IN,OUT> |
TaskRegistry.find(String alias,
Class<IN> inType,
Class<OUT> outType)
Finds task by its alias.
|
protected Task<IN,OUT> |
Task.setExecutionService(ExecutionService executionService)
Sets
ExecutionService to be used to execute this task asynchronously |
Task<?,?> |
Task.then(String nextTask)
Allows to connect current task with next task, given the output of this task matches input of next task
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
Task.setPreviousTask(Task<?,? extends IN> previous)
Sets previous task
|
Copyright © 2015 JBoss by Red Hat. All rights reserved.