Enum Class HistoryRewindOutcome

java.lang.Object
java.lang.Enum<HistoryRewindOutcome>
com.github.copilot.generated.rpc.HistoryRewindOutcome
All Implemented Interfaces:
Serializable, Comparable<HistoryRewindOutcome>, Constable

@Generated("copilot-sdk-codegen") public enum HistoryRewindOutcome extends Enum<HistoryRewindOutcome>
Outcome of a rewind request.
Since:
1.0.0
  • Enum Constant Details

    • SUCCESS

      public static final HistoryRewindOutcome SUCCESS
      The success variant.
    • SESSION_BUSY

      public static final HistoryRewindOutcome SESSION_BUSY
      The session-busy variant.
    • FILE_CHANGE_TRACKING_DISABLED

      public static final HistoryRewindOutcome FILE_CHANGE_TRACKING_DISABLED
      The file-change-tracking-disabled variant.
    • UNSUPPORTED_REMOTE_SESSION

      public static final HistoryRewindOutcome UNSUPPORTED_REMOTE_SESSION
      The unsupported-remote-session variant.
    • FILES_ROLLED_BACK

      public static final HistoryRewindOutcome FILES_ROLLED_BACK
      The files-rolled-back variant.
    • ROLLBACK_INCOMPLETE

      public static final HistoryRewindOutcome ROLLBACK_INCOMPLETE
      The rollback-incomplete variant.
    • TRUNCATION_FAILED

      public static final HistoryRewindOutcome TRUNCATION_FAILED
      The truncation-failed variant.
    • CHECKPOINT_CLEANUP_FAILED

      public static final HistoryRewindOutcome CHECKPOINT_CLEANUP_FAILED
      The checkpoint-cleanup-failed variant.
    • SNAPSHOT_PRUNE_FAILED

      public static final HistoryRewindOutcome SNAPSHOT_PRUNE_FAILED
      The snapshot-prune-failed variant.
  • Method Details

    • values

      public static HistoryRewindOutcome[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static HistoryRewindOutcome valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
    • fromValue

      public static HistoryRewindOutcome fromValue(String value)