Class UnremoveRepositoryCommand

java.lang.Object
com.linecorp.centraldogma.server.command.UnremoveRepositoryCommand
All Implemented Interfaces:
Command<Void>

public final class UnremoveRepositoryCommand extends Object
A Command which is used for restoring a repository that was removed before.
  • Method Details

    • repositoryName

      public String repositoryName()
      Return the repository name.
    • equals

      public boolean equals(Object obj)
    • hashCode

      public int hashCode()
    • projectName

      public final String projectName()
    • executionPath

      public String executionPath()
      Description copied from interface: Command
      Returns the target that the command is supposed to affect, i.e. the project name for the commands affecting to the project, or the project and repository names for the commands affecting to the repository.
    • type

      public final CommandType type()
      Description copied from interface: Command
      Returns the CommandType of the command.
      Specified by:
      type in interface Command<T>
    • timestamp

      public final long timestamp()
      Description copied from interface: Command
      Returns the time when performing the command, in milliseconds.
      Specified by:
      timestamp in interface Command<T>
    • author

      public final Author author()
      Description copied from interface: Command
      Returns the author who initiated the command.
      Specified by:
      author in interface Command<T>
    • toString

      public final String toString()
      Overrides:
      toString in class Object