1
0
mirror of https://github.com/google/nomulus synced 2026-02-13 08:11:36 +00:00

Rename Runnable classes from Tasks to Actions

This is cleanup relating to a naming decision that we made awhile ago
but never got around to.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=117244827
This commit is contained in:
mcilwain
2016-03-15 09:14:24 -07:00
committed by Justine Tunney
parent 5f7bf57cf9
commit 57fa57968d
48 changed files with 320 additions and 318 deletions

View File

@@ -27,13 +27,13 @@ import java.security.GeneralSecurityException;
import javax.inject.Inject;
/** Task to download the latest ICANN TMCH CRL from MarksDB. */
/** Action to download the latest ICANN TMCH CRL from MarksDB. */
@Action(path = "/_dr/task/tmchCrl", method = POST, automaticallyPrintOk = true)
public final class TmchCrlTask implements Runnable {
public final class TmchCrlAction implements Runnable {
@Inject Marksdb marksdb;
@Inject @Config("tmchCrlUrl") URL tmchCrlUrl;
@Inject TmchCrlTask() {}
@Inject TmchCrlAction() {}
/** Synchronously fetches latest ICANN TMCH CRL and saves it to datastore. */
@Override

View File

@@ -30,9 +30,9 @@ import java.util.List;
import javax.inject.Inject;
/** Task to download the latest domain name list (aka claims list) from MarksDB. */
/** Action to download the latest domain name list (aka claims list) from MarksDB. */
@Action(path = "/_dr/task/tmchDnl", method = POST, automaticallyPrintOk = true)
public final class TmchDnlTask implements Runnable {
public final class TmchDnlAction implements Runnable {
private static final FormattingLogger logger = FormattingLogger.getLoggerForCallerClass();
private static final String DNL_CSV_PATH = "/dnl/dnl-latest.csv";
@@ -40,7 +40,7 @@ public final class TmchDnlTask implements Runnable {
@Inject Marksdb marksdb;
@Inject @Key("marksdbDnlLogin") Optional<String> marksdbDnlLogin;
@Inject TmchDnlTask() {}
@Inject TmchDnlAction() {}
/** Synchronously fetches latest domain name list and saves it to datastore. */
@Override

View File

@@ -30,9 +30,9 @@ import java.util.List;
import javax.inject.Inject;
/** Task to download the latest signed mark revocation list from MarksDB. */
/** Action to download the latest signed mark revocation list from MarksDB. */
@Action(path = "/_dr/task/tmchSmdrl", method = POST, automaticallyPrintOk = true)
public final class TmchSmdrlTask implements Runnable {
public final class TmchSmdrlAction implements Runnable {
private static final FormattingLogger logger = FormattingLogger.getLoggerForCallerClass();
private static final String SMDRL_CSV_PATH = "/smdrl/smdrl-latest.csv";
@@ -40,7 +40,7 @@ public final class TmchSmdrlTask implements Runnable {
@Inject Marksdb marksdb;
@Inject @Key("marksdbSmdrlLogin") Optional<String> marksdbSmdrlLogin;
@Inject TmchSmdrlTask() {}
@Inject TmchSmdrlAction() {}
/** Synchronously fetches latest signed mark revocation list and saves it to datastore. */
@Override