Rename RemoteApiCommand to CommandWithRemoteApi

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=211521742
This commit is contained in:
mmuller 2018-09-04 14:10:04 -07:00 committed by jianglai
parent e43349592d
commit 8a2388f5b6
38 changed files with 40 additions and 39 deletions

View file

@ -42,7 +42,7 @@ import org.joda.time.Duration;
/** Composite command to set up OT&E TLDs and accounts. */
@Parameters(separators = " =", commandDescription = "Set up OT&E TLDs and registrars")
final class SetupOteCommand extends ConfirmingCommand implements RemoteApiCommand {
final class SetupOteCommand extends ConfirmingCommand implements CommandWithRemoteApi {
// Regex: 3-14 alphanumeric characters or hyphens, the first of which must be a letter.
private static final Pattern REGISTRAR_PATTERN = Pattern.compile("^[a-z][-a-z0-9]{2,13}$");