Turn Flow into an interface and inject all its fields

This concludes your flow flattening experience. Please
fill out a flow flattening satisfaction survey before
exiting.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=137903095
This commit is contained in:
cgoldfeder 2016-11-01 19:50:31 -07:00 committed by Ben McIlwain
parent 82b0bff9b5
commit 053538b1b5
49 changed files with 630 additions and 569 deletions

View file

@ -15,9 +15,9 @@
package google.registry.flows;
/**
* Marker interface indicating that a {@link Flow} needs to be run transactionally.
* Interface for a {@link Flow} that needs to be run transactionally.
*
* <p>Any flow that mutates the datastore should be tagged with this so that {@link FlowRunner} will
* know how to run it.
* <p>Any flow that mutates the datastore should implement this so that {@link FlowRunner} will know
* how to run it.
*/
public interface TransactionalFlow {}
public interface TransactionalFlow extends Flow {}