Class GHBranchProtection.RequiredStatusChecks

java.lang.Object
org.kohsuke.github.GHBranchProtection.RequiredStatusChecks
Enclosing class:
GHBranchProtection

public static class GHBranchProtection.RequiredStatusChecks extends Object
The type RequiredStatusChecks.
  • Constructor Details

    • RequiredStatusChecks

      public RequiredStatusChecks()
      Create default RequiredStatusChecks instance
  • Method Details

    • getContexts

      public Collection<String> getContexts()
      Gets contexts.
      Returns:
      the contexts
    • getChecks

      public Collection<GHBranchProtection.Check> getChecks()
      Gets checks.
      Returns:
      the checks
    • getUrl

      public String getUrl()
      Gets url.
      Returns:
      the url
    • isRequiresBranchUpToDate

      public boolean isRequiresBranchUpToDate()
      Is requires branch up to date boolean.
      Returns:
      the boolean