Package dev.amp.validator
Class ParsedReferencePoints
- java.lang.Object
-
- dev.amp.validator.ParsedReferencePoints
-
public class ParsedReferencePoints extends Object
Holds the reference points for a particular parent tag spec, including their resolved TagSpec ids.- Author:
- nhant01, GeorgeLuo
-
-
Constructor Summary
Constructors Constructor Description ParsedReferencePoints(dev.amp.validator.ValidatorProtos.TagSpec parentTagSpec)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanup()Clean up reference, improve gc performance.booleanempty()Return true if the parent tag spec's reference point size is empty.List<dev.amp.validator.ValidatorProtos.ReferencePoint>iterate()Return the reference points list.StringparentSpecUrl()Returns the parent's tag spec url.StringparentTagSpecName()Returns the parent's tag spec name.intsize()Returns the parent tag spec's reference points size.
-
-
-
Method Detail
-
iterate
public List<dev.amp.validator.ValidatorProtos.ReferencePoint> iterate()
Return the reference points list.- Returns:
- returns the reference points list.
-
empty
public boolean empty()
Return true if the parent tag spec's reference point size is empty.- Returns:
- returns true if parent tag spec's reference point size is empty.
-
size
public int size()
Returns the parent tag spec's reference points size.- Returns:
- returns the parent tag spec's reference points size.
-
parentSpecUrl
public String parentSpecUrl()
Returns the parent's tag spec url.- Returns:
- returns the parent's tag spec url.
-
parentTagSpecName
public String parentTagSpecName()
Returns the parent's tag spec name.- Returns:
- returns the parent's tag spec name.
-
cleanup
public void cleanup()
Clean up reference, improve gc performance.
-
-