Class ForcePushCommand<T>
java.lang.Object
com.linecorp.centraldogma.server.command.RootCommand<T>
com.linecorp.centraldogma.server.command.ForcePushCommand<T>
- All Implemented Interfaces:
Command<T>
A
Command
which is used to force-push delegate
even the server is in read-only mode.
This command is useful for migrating the repository content during maintenance mode.-
Method Summary
Modifier and TypeMethodDescriptionfinal Author
author()
Returns the author who initiated the command.delegate()
Returns theCommand
to be force-pushed.boolean
int
hashCode()
final long
Returns the time when performing the command, in milliseconds.final String
toString()
final CommandType
type()
Returns theCommandType
of the command.Methods inherited from class com.linecorp.centraldogma.server.command.RootCommand
executionPath
-
Method Details
-
delegate
Returns theCommand
to be force-pushed. -
equals
-
hashCode
public int hashCode() -
type
Description copied from interface:Command
Returns theCommandType
of the command. -
timestamp
public final long timestamp()Description copied from interface:Command
Returns the time when performing the command, in milliseconds. -
author
Description copied from interface:Command
Returns the author who initiated the command. -
toString
-