mirror of
https://github.com/google/nomulus
synced 2026-01-08 07:11:44 +00: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:
@@ -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);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user