mirror of
https://github.com/google/nomulus.git
synced 2025-05-22 04:09:46 +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
|
@ -23,7 +23,7 @@ import java.util.List;
|
|||
abstract class RdapResultSet<T extends EppResource> {
|
||||
|
||||
static <S extends EppResource> RdapResultSet<S> create(List<S> resources) {
|
||||
return create(resources, IncompletenessWarningType.NONE, resources.size());
|
||||
return create(resources, IncompletenessWarningType.COMPLETE, resources.size());
|
||||
}
|
||||
|
||||
static <S extends EppResource> RdapResultSet<S> create(
|
||||
|
@ -43,4 +43,3 @@ abstract class RdapResultSet<T extends EppResource> {
|
|||
/** Number of resources retrieved from the database in the process of assembling the data set. */
|
||||
abstract int numResourcesRetrieved();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue