mirror of
https://github.com/google/nomulus.git
synced 2025-05-16 09:27:16 +02:00
Add nomulus tool setter for sunrush add grace period on TLDs
This also cleans up a few miscellaneous code quality issues encountered while adding the new setter: using a cleaner way to conditionally set field values, documenting the format of the add grace period parameters, and improves some code comments and formatting. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=178387731
This commit is contained in:
parent
6bd0fc58de
commit
68a26f5b6e
4 changed files with 69 additions and 73 deletions
|
@ -327,13 +327,18 @@ public class Registry extends ImmutableObject implements Buildable {
|
|||
*/
|
||||
boolean domainCreateRestricted;
|
||||
|
||||
/** The length of the add grace period for this TLD. */
|
||||
/**
|
||||
* The length of the add grace period for this TLD.
|
||||
*
|
||||
* <p>Domain deletes are free and effective immediately so long as they take place within this
|
||||
* amount of time following creation.
|
||||
*/
|
||||
Duration addGracePeriodLength = DEFAULT_ADD_GRACE_PERIOD;
|
||||
|
||||
/** The length of the add grace period for this TLD. */
|
||||
/** The length of the anchor tenant add grace period for this TLD. */
|
||||
Duration anchorTenantAddGracePeriodLength = DEFAULT_ANCHOR_TENANT_ADD_GRACE_PERIOD;
|
||||
|
||||
/** The length of the sunrush add grace period for this TLD. */
|
||||
/** The length of the add grace period during sunrush for this TLD. */
|
||||
Duration sunrushAddGracePeriodLength = DEFAULT_SUNRUSH_ADD_GRACE_PERIOD;
|
||||
|
||||
/** The length of the auto renew grace period for this TLD. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue