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, resolveTasks
public void add(UpgradeContext ctx, HostsType hostsType, String service, boolean clientOnly, UpgradePack.ProcessingComponent pc, Map<String,String> params)
StageWrapperBuilder
add
in class StageWrapperBuilder
ctx
- 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 StageWrapperBuilder
upgradeContext
- 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.