Class BaseFlowCustomLogic

java.lang.Object
google.registry.flows.custom.BaseFlowCustomLogic
Direct Known Subclasses:
DomainCheckFlowCustomLogic, DomainCreateFlowCustomLogic, DomainDeleteFlowCustomLogic, DomainInfoFlowCustomLogic, DomainPricingCustomLogic, DomainRenewFlowCustomLogic, DomainUpdateFlowCustomLogic

public abstract class BaseFlowCustomLogic extends Object
An abstract base class for all flow custom logic that stores the flow's EppInput and SessionMetadata for convenience. Both of these are immutable.
  • Constructor Details

    • BaseFlowCustomLogic

      protected BaseFlowCustomLogic(@Nullable EppInput eppInput, @Nullable SessionMetadata sessionMetadata, @Nullable FlowMetadata flowMetadata)
      Constructs a BaseFlowCustomLogic for the specified EPP flow state.

      Note that it is possible for the EPP flow state to be absent, which happens when the custom logic is running outside the context of an EPP flow (e.g. DomainPricingCustomLogic in backend actions).

  • Method Details