mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 07:57:13 +02:00
Make host update helper functions private
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=135011679
This commit is contained in:
parent
adced3a5bc
commit
dfb4888834
1 changed files with 2 additions and 2 deletions
|
@ -190,7 +190,7 @@ public final class HostUpdateFlow extends LoggedInFlow implements TransactionalF
|
||||||
verifyNoDisallowedStatuses(existingResource, DISALLOWED_STATUSES);
|
verifyNoDisallowedStatuses(existingResource, DISALLOWED_STATUSES);
|
||||||
}
|
}
|
||||||
|
|
||||||
void verifyHasIpsIffIsExternal(
|
private void verifyHasIpsIffIsExternal(
|
||||||
Update command, HostResource existingResource, HostResource newResource) throws EppException {
|
Update command, HostResource existingResource, HostResource newResource) throws EppException {
|
||||||
boolean wasExternal = existingResource.getSuperordinateDomain() == null;
|
boolean wasExternal = existingResource.getSuperordinateDomain() == null;
|
||||||
boolean wasSubordinate = !wasExternal;
|
boolean wasSubordinate = !wasExternal;
|
||||||
|
@ -215,7 +215,7 @@ public final class HostUpdateFlow extends LoggedInFlow implements TransactionalF
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void enqueueTasks(HostResource existingResource, HostResource newResource) {
|
private void enqueueTasks(HostResource existingResource, HostResource newResource) {
|
||||||
// Only update DNS for subordinate hosts. External hosts have no glue to write, so they
|
// Only update DNS for subordinate hosts. External hosts have no glue to write, so they
|
||||||
// are only written as NS records from the referencing domain.
|
// are only written as NS records from the referencing domain.
|
||||||
if (existingResource.getSuperordinateDomain() != null) {
|
if (existingResource.getSuperordinateDomain() != null) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue