mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 07:57:13 +02:00
Delete the useless MapreduceAction interface
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=122630519
This commit is contained in:
parent
6f4b059cc9
commit
68b75461db
10 changed files with 9 additions and 42 deletions
|
@ -26,7 +26,6 @@ import com.googlecode.objectify.Key;
|
|||
import com.googlecode.objectify.Work;
|
||||
|
||||
import google.registry.config.RegistryEnvironment;
|
||||
import google.registry.mapreduce.MapreduceAction;
|
||||
import google.registry.mapreduce.MapreduceRunner;
|
||||
import google.registry.mapreduce.inputs.EppResourceInputs;
|
||||
import google.registry.model.EppResource;
|
||||
|
@ -41,7 +40,7 @@ import javax.inject.Inject;
|
|||
|
||||
/** Deletes all {@link EppResource} objects in datastore, including indices and descendants. */
|
||||
@Action(path = "/_dr/task/killAllEppResources", method = POST)
|
||||
public class KillAllEppResourcesAction implements MapreduceAction {
|
||||
public class KillAllEppResourcesAction implements Runnable {
|
||||
|
||||
@Inject MapreduceRunner mrRunner;
|
||||
@Inject Response response;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue