Package google.registry.rde
Class RdeCounter
java.lang.Object
google.registry.rde.RdeCounter
Utility class for generating a single
XjcRdeHeader
while marshalling a deposit.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
increment
(RdeResourceType type) Increment the count on a given resource.makeHeader
(String tld, RdeMode mode) Constructs a header containing the sum ofincrement(RdeResourceType)
calls.makeReport
(String id, org.joda.time.DateTime watermark, XjcRdeHeader header, int revision) Returns an ICANN notification report as a JAXB object.
-
Constructor Details
-
RdeCounter
@Inject public RdeCounter()
-
-
Method Details
-
increment
Increment the count on a given resource. -
makeHeader
Constructs a header containing the sum ofincrement(RdeResourceType)
calls. -
makeReport
public XjcRdeReport makeReport(String id, org.joda.time.DateTime watermark, XjcRdeHeader header, int revision) Returns an ICANN notification report as a JAXB object.
-