mirror of
https://github.com/google/nomulus
synced 2026-01-10 07:57:58 +00:00
Rename RemoteApiCommand to CommandWithRemoteApi
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=211521742
This commit is contained in:
@@ -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}$");
|
||||
|
||||
Reference in New Issue
Block a user