Enum Class PatchScript.FileMode

java.lang.Object
java.lang.Enum<PatchScript.FileMode>
com.google.gerrit.common.data.PatchScript.FileMode
All Implemented Interfaces:
Serializable, Comparable<PatchScript.FileMode>, java.lang.constant.Constable
Enclosing class:
PatchScript

public static enum PatchScript.FileMode extends Enum<PatchScript.FileMode>
  • Enum Constant Details

  • Method Details

    • values

      public static PatchScript.FileMode[] 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 PatchScript.FileMode 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
    • fromJgitFileMode

      public static PatchScript.FileMode fromJgitFileMode(org.eclipse.jgit.lib.FileMode jgitFileMode)