Class AbstractPushCommand<T>
java.lang.Object
com.linecorp.centraldogma.server.command.RepositoryCommand<T>
com.linecorp.centraldogma.server.command.AbstractPushCommand<T>
- All Implemented Interfaces:
Command<T>
- Direct Known Subclasses:
NormalizingPushCommand
,PushAsIsCommand
A
Command
which is used for pushing changes to the repository.-
Method Summary
Modifier and TypeMethodDescriptionfinal Author
author()
Returns the author who initiated the command.Returns the baseRevision
.changes()
Returns theChange
s of the commit.detail()
Returns the human-readable detail of the commit.boolean
int
hashCode()
markup()
summary()
Returns the human-readable summary of the commit.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.RepositoryCommand
executionPath, projectName, repositoryName
-
Method Details
-
baseRevision
Returns the baseRevision
. -
summary
Returns the human-readable summary of the commit. -
detail
Returns the human-readable detail of the commit. -
markup
-
changes
Returns theChange
s of the commit. -
equals
- Overrides:
equals
in classRepositoryCommand<T>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classRepositoryCommand<T>
-
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
-