Package com.atlassian.bitbucket.pull
Enum Class PullRequestActivityPropertyMode
java.lang.Object
java.lang.Enum<PullRequestActivityPropertyMode>
com.atlassian.bitbucket.pull.PullRequestActivityPropertyMode
- All Implemented Interfaces:
Serializable
,Comparable<PullRequestActivityPropertyMode>
,Constable
Represents the property enriching mode regarding pull requests and pull request activities.
- Since:
- 7.14
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionApplies property enrichment to activities, but not their pull requests.Applies property enrichment to activities and their pull requests.Disables property enrichment on activities and their pull requests.Applies property enrichment to pull requests, but not their activities. -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
Returns the enum constant of this class with the specified name.static PullRequestActivityPropertyMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACTIVITY_ONLY
Applies property enrichment to activities, but not their pull requests. -
ALL
Applies property enrichment to activities and their pull requests. -
NONE
Disables property enrichment on activities and their pull requests. -
PULL_REQUEST_ONLY
Applies property enrichment to pull requests, but not their activities.
-
-
Method Details
-
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
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 nameNullPointerException
- 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.
-