public class XPFPromotionElementGroup extends XPFEntity
The root group of a XPFPromotionRule is reachable via
XPFPromotionRule.getRootConditionGroup(); child groups are reachable from each group's
getChildGroups().
| Modifier and Type | Class and Description |
|---|---|
static class |
XPFPromotionElementGroup.XPFPromotionElementGroupBuilder<C extends XPFPromotionElementGroup,B extends XPFPromotionElementGroup.XPFPromotionElementGroupBuilder<C,B>> |
XPFEntity.XPFEntityBuilder<C extends XPFEntity,B extends XPFEntity.XPFEntityBuilder<C,B>>| Modifier | Constructor and Description |
|---|---|
|
XPFPromotionElementGroup(@NonNull String guid,
@NonNull XPFPromotionOperatorEnum operator,
@NonNull List<XPFPromotionElement> conditions,
@NonNull List<XPFPromotionElementGroup> childGroups) |
protected |
XPFPromotionElementGroup(XPFPromotionElementGroup.XPFPromotionElementGroupBuilder<?,?> b) |
| Modifier and Type | Method and Description |
|---|---|
static XPFPromotionElementGroup.XPFPromotionElementGroupBuilder<?,?> |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
@NonNull List<XPFPromotionElementGroup> |
getChildGroups()
The nested child groups of this group.
|
@NonNull List<XPFPromotionElement> |
getConditions()
The conditions directly contained in this group (does not include conditions in nested
child groups).
|
@NonNull String |
getGuid()
The unique GUID of the condition group.
|
@NonNull XPFPromotionOperatorEnum |
getOperator()
The logical operator (AND/OR) combining the children of this group.
|
int |
hashCode() |
String |
toString() |
getCustomData, getCustomDataValueprotected XPFPromotionElementGroup(XPFPromotionElementGroup.XPFPromotionElementGroupBuilder<?,?> b)
public XPFPromotionElementGroup(@NonNull
@NonNull String guid,
@NonNull
@NonNull XPFPromotionOperatorEnum operator,
@NonNull
@NonNull List<XPFPromotionElement> conditions,
@NonNull
@NonNull List<XPFPromotionElementGroup> childGroups)
public static XPFPromotionElementGroup.XPFPromotionElementGroupBuilder<?,?> builder()
@NonNull public @NonNull String getGuid()
@NonNull public @NonNull XPFPromotionOperatorEnum getOperator()
@NonNull public @NonNull List<XPFPromotionElement> getConditions()
@NonNull public @NonNull List<XPFPromotionElementGroup> getChildGroups()
Copyright © 2026. All rights reserved.