public class Grouping extends Object
Modifier and Type | Field and Description |
---|---|
String |
addAfterGroup |
String |
addAfterGroupEntry |
boolean |
allowRetry |
Condition |
condition
A condition element with can prevent this entire group from being scheduled
in the upgrade.
|
Direction |
intendedDirection |
String |
name |
ParallelScheduler |
parallelScheduler |
boolean |
performServiceCheck |
UpgradeScope |
scope |
List<UpgradePack.OrderService> |
services |
boolean |
skippable |
boolean |
supportsAutoSkipOnFailure |
String |
title |
Constructor and Description |
---|
Grouping() |
Modifier and Type | Method and Description |
---|---|
StageWrapperBuilder |
getBuilder()
Gets the default builder.
|
boolean |
isProcessingGroup() |
void |
merge(Iterator<Grouping> iterator)
Merge the services of all the child groups, with the current services.
|
protected boolean |
serviceCheckAfterProcessing()
Overridable function to indicate if full service checks can be run
|
String |
toString() |
public String name
public String title
public String addAfterGroup
public String addAfterGroupEntry
public boolean skippable
public boolean supportsAutoSkipOnFailure
public boolean allowRetry
public List<UpgradePack.OrderService> services
public boolean performServiceCheck
public Direction intendedDirection
public ParallelScheduler parallelScheduler
public UpgradeScope scope
public Condition condition
public final boolean isProcessingGroup()
true
when the grouping is used to upgrade services and that it is
appropriate to run service checks after orchestration.protected boolean serviceCheckAfterProcessing()
public StageWrapperBuilder getBuilder()
public void merge(Iterator<Grouping> iterator) throws org.apache.ambari.server.AmbariException
org.apache.ambari.server.AmbariException
Copyright © 2022 Apache Software Foundation. All rights reserved.