Enum Class FileEditType

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

public enum FileEditType extends Enum<FileEditType>
Edit types which describe how a file has been changed.
Author:
Florian Orendi
  • Enum Constant Details

    • ADD

      public static final FileEditType ADD
      The file has been added.
    • MODIFY

      public static final FileEditType MODIFY
      The file has been modified.
    • DELETE

      public static final FileEditType DELETE
      The file has been deleted.
    • RENAME

      public static final FileEditType RENAME
      The file has been renamed.
    • COPY

      public static final FileEditType COPY
      The file has been copied.
    • UNDEFINED

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

    • values

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