mirror of
https://github.com/google/nomulus.git
synced 2025-05-29 08:50:09 +02:00
Use CommandWithRemoteApi in SetDatabaseTransitionScheduleCommand (#1099)
* Use CommandWithRemoteApi in ConfirmingCommand * Remove unnecessary extensions * Remove from ConfirmingCommand
This commit is contained in:
parent
feab3633a6
commit
36c9ebaab4
2 changed files with 3 additions and 4 deletions
|
@ -27,9 +27,7 @@ import java.io.IOException;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/** Command to create groups in Google Groups for all contact types for a registrar. */
|
||||||
* Command to create groups in Google Groups for all contact types for a registrar.
|
|
||||||
*/
|
|
||||||
@Parameters(separators = " =", commandDescription = "Create groups for a registrar.")
|
@Parameters(separators = " =", commandDescription = "Create groups for a registrar.")
|
||||||
public class CreateRegistrarGroupsCommand extends ConfirmingCommand
|
public class CreateRegistrarGroupsCommand extends ConfirmingCommand
|
||||||
implements CommandWithConnection, CommandWithRemoteApi {
|
implements CommandWithConnection, CommandWithRemoteApi {
|
||||||
|
|
|
@ -31,7 +31,8 @@ import org.joda.time.DateTime;
|
||||||
@Parameters(
|
@Parameters(
|
||||||
separators = " =",
|
separators = " =",
|
||||||
commandDescription = "Set the database transition schedule for transition id.")
|
commandDescription = "Set the database transition schedule for transition id.")
|
||||||
public class SetDatabaseTransitionScheduleCommand extends ConfirmingCommand {
|
public class SetDatabaseTransitionScheduleCommand extends ConfirmingCommand
|
||||||
|
implements CommandWithRemoteApi {
|
||||||
|
|
||||||
@Parameter(
|
@Parameter(
|
||||||
names = "--transition_schedule",
|
names = "--transition_schedule",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue