Enum Class PullRequestActivityPropertyMode

java.lang.Object
java.lang.Enum<PullRequestActivityPropertyMode>
com.atlassian.bitbucket.pull.PullRequestActivityPropertyMode
All Implemented Interfaces:
Serializable, Comparable<PullRequestActivityPropertyMode>, Constable

public enum PullRequestActivityPropertyMode extends Enum<PullRequestActivityPropertyMode>
Represents the property enriching mode regarding pull requests and pull request activities.
Since:
7.14
  • Enum Constant Details

  • Method Details

    • values

      public static PullRequestActivityPropertyMode[] 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 PullRequestActivityPropertyMode 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
    • includesActivities

      public boolean includesActivities()
      Returns:
      true if the property enrichment process should be applied to pull request activities.
    • includesPullRequests

      public boolean includesPullRequests()
      Returns:
      true if the property enrichment process should be applied to pull requests.