Package io.typeflows.github.workflow
Enum BranchProtectionRuleType
-
- All Implemented Interfaces:
-
io.typeflows.util.TfEnum,java.io.Serializable,kotlin.Comparable
public enum BranchProtectionRuleType extends Enum<BranchProtectionRuleType> implements TfEnum
Represents the types of branch protection rule events that can trigger a GitHub Actions workflow.
These event types correspond to different actions that can occur on branch protection rules in a repository, allowing workflows to respond to changes in branch protection policies.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringplatformValueprivate final Stringnameprivate final Integerordinalprivate final EnumEntries<BranchProtectionRuleType>entries
-
Method Summary
Modifier and Type Method Description final Array<BranchProtectionRuleType>values()Returns an array containing the constants of this enum type, in the order they're declared. final BranchProtectionRuleTypevalueOf(String value)Returns the enum constant of this type with the specified name. StringgetPlatformValue()final StringgetName()final IntegergetOrdinal()final EnumEntries<BranchProtectionRuleType>getEntries()-
-
Method Detail
-
values
final Array<BranchProtectionRuleType> 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 BranchProtectionRuleType 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<BranchProtectionRuleType> getEntries()
-
-
-
-