java.lang.Object
org.kohsuke.github.GHBranchProtection.Check
- Enclosing class:
- GHBranchProtection
The type Check.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAppId()
The application ID the check is supposed to come from.The context string of the check
-
Constructor Details
-
Check
public Check()no-arg constructor for the serializer -
Check
Regular constructor for use in user business logic- Parameters:
context
- the context string of the checkappId
- the application ID the check is supposed to come from. Pass "-1" to explicitly allow any app to set the status. Pass "null" to automatically select the GitHub App that has recently provided this check.
-
-
Method Details
-
getContext
The context string of the check- Returns:
- the string
-
getAppId
The application ID the check is supposed to come from. The value "-1" indicates "any source".- Returns:
- the integer
-