Class CreateProjectCommand

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

public final class CreateProjectCommand extends RootCommand<Void>
A Command which is used for creating a new project.
  • Method Details

    • projectName

      public String projectName()
      Returns the project name.
    • equals

      public boolean equals(Object obj)
    • hashCode

      public int hashCode()
    • 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