mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 16:07:15 +02:00
Remove ServerSideCommand
ServerSideCommand now just aggregates CommandWithConnection and CommandWithRemoteApi, so it's arguably clearer for commands to just implement both of these. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=211670031
This commit is contained in:
parent
8a2388f5b6
commit
4c3207647f
9 changed files with 10 additions and 27 deletions
|
@ -39,7 +39,7 @@ import javax.annotation.Nullable;
|
|||
/** Command to create a Registrar. */
|
||||
@Parameters(separators = " =", commandDescription = "Create new registrar account(s)")
|
||||
final class CreateRegistrarCommand extends CreateOrUpdateRegistrarCommand
|
||||
implements ServerSideCommand {
|
||||
implements CommandWithConnection, CommandWithRemoteApi {
|
||||
|
||||
private static final ImmutableSet<RegistryToolEnvironment> ENVIRONMENTS_ALLOWING_GROUP_CREATION =
|
||||
ImmutableSet.of(PRODUCTION, SANDBOX, UNITTEST);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue