Interface BuildOperations


public interface BuildOperations
Encapsulates the actions that can be taken as well as information about authorization requirements.
Since:
7.8
  • Method Summary

    Modifier and Type
    Method
    Description
    The BuildStatusActions available for the currently authenticated user on this build status.
    boolean
    Indicated whether or not the currently authenticated user has authorized Bitbucket to act on their behalf with this build server.
  • Method Details

    • getActions

      @Nonnull List<BuildStatusAction> getActions()
      The BuildStatusActions available for the currently authenticated user on this build status.
      Returns:
      the available BuildStatusActions
    • isAuthorizationRequired

      boolean isAuthorizationRequired()
      Indicated whether or not the currently authenticated user has authorized Bitbucket to act on their behalf with this build server.
      Returns:
      true if Bitbucket requires authorization. false if authorization has already been performed, or is not required for this build server.