Package | Description |
---|---|
org.apache.ambari.server.stack.upgrade.orchestrate |
Modifier and Type | Method and Description |
---|---|
static List<TaskWrapper> |
TaskWrapperBuilder.getTaskList(String service,
String component,
HostsType hostsType,
List<Task> tasks,
Map<String,String> params)
Creates a collection of task wrappers based on the set of hosts they are allowed to run on
by analyzing the "hosts" attribute of any ExecuteTask objects.
|
List<TaskWrapper> |
StageWrapper.getTasks() |
Modifier and Type | Method and Description |
---|---|
static Set<String> |
TaskWrapperBuilder.getEffectiveHosts(List<TaskWrapper> tasks)
Given a collection of tasks, get the union of the hosts.
|
Constructor and Description |
---|
StageWrapper(StageWrapper.Type type,
String text,
Map<String,String> params,
TaskWrapper... tasks)
Wrapper for a stage that encapsulates its text, params, and tasks.
|
StageWrapper(StageWrapper.Type type,
String text,
TaskWrapper... tasks)
Wrapper for a stage that encapsulates its text and tasks.
|
Constructor and Description |
---|
StageWrapper(StageWrapper.Type type,
String text,
Map<String,String> params,
List<TaskWrapper> tasks)
Wrapper for a stage that encapsulates its text, params, and tasks.
|
Copyright © 2022 Apache Software Foundation. All rights reserved.