Package io.typeflows.github.dependabot
Enum RebaseStrategy
-
- All Implemented Interfaces:
-
io.typeflows.util.TfEnum,java.io.Serializable,kotlin.Comparable
public enum RebaseStrategy extends Enum<RebaseStrategy> implements TfEnum
Defines the rebase strategy for Dependabot pull requests.
This enum controls how Dependabot handles rebasing pull requests when the base branch changes, allowing you to enable automatic rebasing or disable it to prevent unwanted updates to pull requests.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringplatformValueprivate final Stringnameprivate final Integerordinalprivate final EnumEntries<RebaseStrategy>entries
-
Method Summary
Modifier and Type Method Description final Array<RebaseStrategy>values()Returns an array containing the constants of this enum type, in the order they're declared. final RebaseStrategyvalueOf(String value)Returns the enum constant of this type with the specified name. StringgetPlatformValue()final StringgetName()final IntegergetOrdinal()final EnumEntries<RebaseStrategy>getEntries()-
-
Method Detail
-
values
final Array<RebaseStrategy> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
valueOf
final RebaseStrategy valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
getPlatformValue
String getPlatformValue()
-
getOrdinal
final Integer getOrdinal()
-
getEntries
final EnumEntries<RebaseStrategy> getEntries()
-
-
-
-