public class ClusterGrouping.ClusterBuilder extends StageWrapperBuilder
m_grouping| Modifier and Type | Method and Description |
|---|---|
void |
add(UpgradeContext ctx,
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 void add(UpgradeContext ctx, HostsType hostsType, String service, boolean clientOnly, UpgradePack.ProcessingComponent pc, Map<String,String> params)
StageWrapperBuilderadd in class StageWrapperBuilderctx - 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)
build 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.