Package google.registry.flows.custom
Class CustomLogicFactory
java.lang.Object
google.registry.flows.custom.CustomLogicFactory
A no-op base custom logic factory.
To add custom logic, extend this class, then configure it in
RegistryConfig.ConfigModule.provideCustomLogicFactoryClass(google.registry.config.RegistryConfigSettings)
. The eppInput and sessionMetadata parameters
are unused in the base implementation, but are provided so that custom implementations can
optionally determine how to construct/choose which custom logic class to return. A common use
case might be parsing TLD for domain-specific flows from the EppInput and then using that to
choose a different custom logic implementation, or switching based on the registrar
clientId
in sessionMetadata.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionforDomainCheckFlow
(EppInput eppInput, SessionMetadata sessionMetadata, FlowMetadata flowMetadata) forDomainCreateFlow
(EppInput eppInput, SessionMetadata sessionMetadata, FlowMetadata flowMetadata) forDomainDeleteFlow
(EppInput eppInput, SessionMetadata sessionMetadata, FlowMetadata flowMetadata) forDomainInfoFlow
(EppInput eppInput, SessionMetadata sessionMetadata, FlowMetadata flowMetadata) forDomainPricing
(Optional<EppInput> eppInput, Optional<SessionMetadata> sessionMetadata, Optional<FlowMetadata> flowMetadata) forDomainRenewFlow
(EppInput eppInput, SessionMetadata sessionMetadata, FlowMetadata flowMetadata) forDomainUpdateFlow
(EppInput eppInput, SessionMetadata sessionMetadata, FlowMetadata flowMetadata)
-
Constructor Details
-
CustomLogicFactory
public CustomLogicFactory()
-
-
Method Details
-
forDomainCreateFlow
public DomainCreateFlowCustomLogic forDomainCreateFlow(EppInput eppInput, SessionMetadata sessionMetadata, FlowMetadata flowMetadata) -
forDomainCheckFlow
public DomainCheckFlowCustomLogic forDomainCheckFlow(EppInput eppInput, SessionMetadata sessionMetadata, FlowMetadata flowMetadata) -
forDomainInfoFlow
public DomainInfoFlowCustomLogic forDomainInfoFlow(EppInput eppInput, SessionMetadata sessionMetadata, FlowMetadata flowMetadata) -
forDomainUpdateFlow
public DomainUpdateFlowCustomLogic forDomainUpdateFlow(EppInput eppInput, SessionMetadata sessionMetadata, FlowMetadata flowMetadata) -
forDomainRenewFlow
public DomainRenewFlowCustomLogic forDomainRenewFlow(EppInput eppInput, SessionMetadata sessionMetadata, FlowMetadata flowMetadata) -
forDomainDeleteFlow
public DomainDeleteFlowCustomLogic forDomainDeleteFlow(EppInput eppInput, SessionMetadata sessionMetadata, FlowMetadata flowMetadata) -
forDomainPricing
public DomainPricingCustomLogic forDomainPricing(Optional<EppInput> eppInput, Optional<SessionMetadata> sessionMetadata, Optional<FlowMetadata> flowMetadata)
-