public class ParallelClientGroupingBuilder extends StageWrapperBuilder
ParallelClientGroupingm_grouping| Constructor and Description |
|---|
ParallelClientGroupingBuilder(Grouping grouping) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(UpgradeContext upgradeContext,
HostsType hostsType,
String service,
boolean clientOnly,
UpgradePack.ProcessingComponent pc,
Map<String,String> params)
Adds a processing component that will be built into stage wrappers.
|
List<StageWrapper> |
build(UpgradeContext upgradeContext,
List<StageWrapper> stageWrappers)
Builds the stage wrappers.
|
afterBuild, beforeBuild, build, getParallelHostCount, getStageText, getStageText, resolveTask, resolveTaskspublic ParallelClientGroupingBuilder(Grouping grouping)
grouping - public void add(UpgradeContext upgradeContext, HostsType hostsType, String service, boolean clientOnly, UpgradePack.ProcessingComponent pc, Map<String,String> params)
StageWrapperBuilderadd in class StageWrapperBuilderupgradeContext - the upgrade contexthostsType - the hosts, along with their typeservice - the service nameclientOnly - whether the service is client only, no service checkspc - the ProcessingComponent derived from the upgrade packparams - additional parameterspublic List<StageWrapper> build(UpgradeContext upgradeContext, List<StageWrapper> stageWrappers)
StageWrapperBuilderbuild in class StageWrapperBuilderupgradeContext - the upgrade context (not null).stageWrappers - the list of stage wrappers created by
StageWrapperBuilder.beforeBuild(UpgradeContext).null)Copyright © 2022 Apache Software Foundation. All rights reserved.