Class AllocationTokenCustomLogic


  • public class AllocationTokenCustomLogic
    extends java.lang.Object
    A no-op base class for allocation token custom logic.

    Extend this class and override the hook(s) to perform custom logic.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.google.common.collect.ImmutableMap<com.google.common.net.InternetDomainName,​java.lang.String> checkDomainsWithToken​(com.google.common.collect.ImmutableList<com.google.common.net.InternetDomainName> domainNames, AllocationToken token, java.lang.String registrarId, org.joda.time.DateTime now)
      Performs additional custom logic for performing domain checks using a token.
      AllocationToken validateToken​(DomainCommand.Create command, AllocationToken token, Registry registry, java.lang.String registrarId, org.joda.time.DateTime now)
      Performs additional custom logic for validating a token on a domain create.
      AllocationToken validateToken​(Domain domain, AllocationToken token, Registry registry, java.lang.String registrarId, org.joda.time.DateTime now)
      Performs additional custom logic for validating a token on an existing domain.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AllocationTokenCustomLogic

        public AllocationTokenCustomLogic()
    • Method Detail

      • checkDomainsWithToken

        public com.google.common.collect.ImmutableMap<com.google.common.net.InternetDomainName,​java.lang.String> checkDomainsWithToken​(com.google.common.collect.ImmutableList<com.google.common.net.InternetDomainName> domainNames,
                                                                                                                                             AllocationToken token,
                                                                                                                                             java.lang.String registrarId,
                                                                                                                                             org.joda.time.DateTime now)
        Performs additional custom logic for performing domain checks using a token.