Enum MergeMethod
-
- All Implemented Interfaces:
-
io.typeflows.util.TfEnum,java.io.Serializable,kotlin.Comparable
public enum MergeMethod extends Enum<MergeMethod> implements TfEnum
Represents the merge method used for pull requests in GitHub Actions workflows.
Defines the possible methods for merging pull requests: merge commit, squash merge, or rebase and merge. Available in GitHub workflow contexts when working with pull request merge configurations.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringplatformValueprivate final Stringnameprivate final Integerordinalprivate final EnumEntries<MergeMethod>entries
-
Method Summary
Modifier and Type Method Description final Array<MergeMethod>values()Returns an array containing the constants of this enum type, in the order they're declared. final MergeMethodvalueOf(String value)Returns the enum constant of this type with the specified name. StringgetPlatformValue()final StringgetName()final IntegergetOrdinal()final EnumEntries<MergeMethod>getEntries()-
-
Method Detail
-
values
final Array<MergeMethod> 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 MergeMethod 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<MergeMethod> getEntries()
-
-
-
-