Enum Class ChangeEditType

java.lang.Object
java.lang.Enum<ChangeEditType>
io.jenkins.plugins.forensics.delta.ChangeEditType
All Implemented Interfaces:
Serializable, Comparable<ChangeEditType>, Constable

public enum ChangeEditType extends Enum<ChangeEditType>
The edit type of a single change within a specific file.
Author:
Florian Orendi
  • Enum Constant Details

    • REPLACE

      public static final ChangeEditType REPLACE
      The new content replaces old content.
    • INSERT

      public static final ChangeEditType INSERT
      New content has been added.
    • DELETE

      public static final ChangeEditType DELETE
      Content has been deleted.
    • EMPTY

      public static final ChangeEditType EMPTY
      Nothing happened with the content.
    • UNDEFINED

      public static final ChangeEditType UNDEFINED
      The edit type could not be determined.
  • Method Details

    • values

      public static ChangeEditType[] 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 ChangeEditType 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