Class BitbucketEvent


  • public class BitbucketEvent
    extends BitbucketClientObject
    Event on a Bitbucket repository.
    Since:
    5.0
    Author:
    Kaz Nishimura
    • Constructor Detail

      • BitbucketEvent

        public BitbucketEvent​(JsonObject eventObject)
        Constructs this event from a JSON event object.
        Parameters:
        eventObject - JSON event object
        Throws:
        IllegalArgumentException - if the given JSON object is null
    • Method Detail

      • getActor

        public final BitbucketAccount getActor()
        Returns the actor of this event.
        Returns:
        the actor
      • getRepository

        public final BitbucketRepository getRepository()
        Returns the repository of this event.
        Returns:
        the repository
      • getPush

        public final BitbucketPush getPush()
        Returns the push description of this event.
        Returns:
        the push description