mirror of
https://github.com/google/nomulus.git
synced 2025-06-27 06:44:51 +02:00
Add RDAP metric class
The code to use this class will come in future CLs, to avoid a huge CL. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175162557
This commit is contained in:
parent
2aa897e698
commit
ff1ab08302
10 changed files with 570 additions and 10 deletions
|
@ -33,7 +33,7 @@ abstract class RdapSearchResults {
|
|||
enum IncompletenessWarningType {
|
||||
|
||||
/** Result set is complete. */
|
||||
NONE,
|
||||
COMPLETE,
|
||||
|
||||
/** Result set has been limited to the maximum size. */
|
||||
TRUNCATED,
|
||||
|
@ -46,7 +46,7 @@ abstract class RdapSearchResults {
|
|||
}
|
||||
|
||||
static RdapSearchResults create(ImmutableList<ImmutableMap<String, Object>> jsonList) {
|
||||
return create(jsonList, IncompletenessWarningType.NONE);
|
||||
return create(jsonList, IncompletenessWarningType.COMPLETE);
|
||||
}
|
||||
|
||||
static RdapSearchResults create(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue