public static final class SubtreeSpecification.OrRefinement extends SubtreeSpecification.Refinement
true
.Constructor and Description |
---|
SubtreeSpecification.OrRefinement(Collection<SubtreeSpecification.Refinement> refinementSet)
Create a new OR refinement.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
matches(Entry entry)
Check if the refinement matches the given entry.
|
StringBuilder |
toString(StringBuilder builder)
Append the string representation of the refinement to the
provided strin builder.
|
toString
public SubtreeSpecification.OrRefinement(Collection<SubtreeSpecification.Refinement> refinementSet)
refinementSet
- The set of refinements of which at least one must be
true
.public boolean equals(Object obj)
equals
in class SubtreeSpecification.Refinement
public int hashCode()
hashCode
in class SubtreeSpecification.Refinement
public boolean matches(Entry entry)
matches
in class SubtreeSpecification.Refinement
entry
- The filterable entry.true
if the entry matches the
refinement, or false
otherwise.public StringBuilder toString(StringBuilder builder)
toString
in class SubtreeSpecification.Refinement
builder
- The string builder.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.