Package io.typeflows.github.workflow
Enum PermissionLevel
-
- All Implemented Interfaces:
-
io.typeflows.util.TfEnum,java.io.Serializable,kotlin.Comparable
public enum PermissionLevel extends Enum<PermissionLevel> implements TfEnum
Represents the access levels that can be granted for GitHub Actions workflow permissions.
Permission levels define the scope of access granted to workflows, ranging from no access to read-only access to full read-write access. These levels enforce security boundaries and control what operations workflows can perform.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringplatformValueprivate final Stringnameprivate final Integerordinalprivate final EnumEntries<PermissionLevel>entries
-
Method Summary
Modifier and Type Method Description final Array<PermissionLevel>values()Returns an array containing the constants of this enum type, in the order they're declared. final PermissionLevelvalueOf(String value)Returns the enum constant of this type with the specified name. StringgetPlatformValue()final StringgetName()final IntegergetOrdinal()final EnumEntries<PermissionLevel>getEntries()-
-
Method Detail
-
values
final Array<PermissionLevel> 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 PermissionLevel 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<PermissionLevel> getEntries()
-
-
-
-