mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 00:17:20 +02:00
Add additional methods for manipulating timed transition maps
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=130311938
This commit is contained in:
parent
316226db68
commit
0e794c790a
5 changed files with 103 additions and 4 deletions
|
@ -107,7 +107,7 @@ public class DomainInfoFlow extends BaseDomainInfoFlow<DomainResource, Builder>
|
|||
Optional<RegistryExtraFlowLogic> extraLogicManager =
|
||||
RegistryExtraFlowLogicProxy.newInstanceForTld(existingResource.getTld());
|
||||
if (extraLogicManager.isPresent()) {
|
||||
List<String> flags = extraLogicManager.get().getFlags(
|
||||
List<String> flags = extraLogicManager.get().getExtensionFlags(
|
||||
existingResource, this.getClientId(), now); // As-of date is always now for info commands.
|
||||
if (!flags.isEmpty()) {
|
||||
extensions.add(FlagsInfoResponseExtension.create(flags));
|
||||
|
|
|
@ -26,8 +26,8 @@ import org.joda.time.DateTime;
|
|||
*/
|
||||
public interface RegistryExtraFlowLogic {
|
||||
|
||||
/** Get the flags to be passed to the client in the EPP flags extension. */
|
||||
public List<String> getFlags(
|
||||
/** Get the flags to be used in the EPP flags extension. This is used for EPP info commands. */
|
||||
public List<String> getExtensionFlags(
|
||||
DomainResource domainResource, String clientIdentifier, DateTime asOfDate);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue