Class GCRules.UnionRule (2.10.2)

See more code actions.
public static final class GCRules.UnionRule implements GCRules.GCRule

Fluent wrapper for Union rule. Allows far adding an hierarchy of rules with union as the root

Object > GCRules.UnionRule
GCRules.GCRule

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getRulesList()

public List<GCRules.GCRule> getRulesList()

Gets the list of child rules

Returns
TypeDescription
List<GCRule>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

rule(GCRules.GCRule rule)

public GCRules.UnionRule rule(GCRules.GCRule rule)

Adds a new GCRule

Parameter
NameDescription
ruleGCRules.GCRule
Returns
TypeDescription
GCRules.UnionRule

toProto()

public GcRule toProto()
Returns
TypeDescription
GcRule

toString()

public String toString()
Returns
TypeDescription
String
Overrides