Package google.registry.flows.domain
Class DomainDeleteFlow
java.lang.Object
google.registry.flows.domain.DomainDeleteFlow
- All Implemented Interfaces:
Flow
,MutatingFlow
,TransactionalFlow
@ReportingSpec(DOMAIN_DELETE)
public final class DomainDeleteFlow
extends Object
implements MutatingFlow
An EPP flow that deletes a domain.
- Expected Error
EppException.UnimplementedExtensionException
,FlowUtils.NotLoggedInException
,ResourceFlowUtils.ResourceDoesNotExistException
,ResourceFlowUtils.ResourceNotOwnedException
,OnlyToolCanPassMetadataException
,ResourceStatusProhibitsOperationException
,DomainDeleteFlow.DomainToDeleteHasHostsException
,DomainFlowUtils.BadCommandForRegistryPhaseException
,DomainFlowUtils.NotAuthorizedForTldException
-
Method Summary
Modifier and TypeMethodDescriptionrun()
Executes an EPP "flow" and returns a response object (or in the specific case of the "hello" flow a greeting object) that can be converted to XML and returned to the caller.
-
Method Details
-
run
Description copied from interface:Flow
Executes an EPP "flow" and returns a response object (or in the specific case of the "hello" flow a greeting object) that can be converted to XML and returned to the caller.Flows should have
Flow.run()
called once per instance. If a flow needs to be retried, a new instance should be created.Flows should get all of their parameters via injection off of
FlowComponent
.- Specified by:
run
in interfaceFlow
- Throws:
EppException
-