Class GCRules.IntersectionRule (2.12.0)

public static final class GCRules.IntersectionRule implements GCRules.GCRule

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

Inheritance

Object > GCRules.IntersectionRule

Implements

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.IntersectionRule rule(GCRules.GCRule rule)

Adds a new GCRule

Parameter
NameDescription
ruleGCRules.GCRule
Returns
TypeDescription
GCRules.IntersectionRule

toProto()

public GcRule toProto()
Returns
TypeDescription
GcRule

toString()

public String toString()
Returns
TypeDescription
String
Overrides