Class RotateWdekCommand

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

public final class RotateWdekCommand extends RepositoryCommand<Void>
A Command that rotates the wrapped data encryption key (WDEK) for a repository.
  • Method Details

    • wdekDetails

      public WrappedDekDetails wdekDetails()
      Returns the details of the new wrapped data encryption key (WDEK).
    • reencrypt

      public boolean reencrypt()
      Returns whether to re-encrypt all existing data with the new WDEK.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class RepositoryCommand<Void>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class RepositoryCommand<Void>
    • 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