mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 07:57:13 +02:00
Rename RemoteApiCommand to CommandWithRemoteApi
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=211521742
This commit is contained in:
parent
e43349592d
commit
8a2388f5b6
38 changed files with 40 additions and 39 deletions
|
@ -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}$");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue