public interface Task
Modifier and Type | Method and Description |
---|---|
default Optional<String> |
getAllowedRole()
An optional role, for which the task is accessible.
|
default TaskExecutionMode |
getExecutionMode()
Provides info whether the task execution should be local - on one node or distributed - on all nodes.
|
String |
getName()
Provides a name for the task.
|
default Set<String> |
getParameters()
The named parameters accepted by this task
|
String |
getType()
Returns the type of task.
|
String getName()
String getType()
default TaskExecutionMode getExecutionMode()
TaskExecutionMode.ONE_NODE
for single node execution, TaskExecutionMode.ALL_NODES
for distributed execution,default Set<String> getParameters()
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.