Class GHEventPayload.Status

    • Constructor Detail

      • Status

        public Status()
    • Method Detail

      • getContext

        public String getContext()
        Gets the status content.
        Returns:
        status content
      • getTargetUrl

        public String getTargetUrl()
        The optional link added to the status.
        Returns:
        a url
      • getDescription

        public String getDescription()
        Gets the status description.
        Returns:
        status description
      • getState

        public GHCommitState getState()
        Gets the status state.
        Returns:
        status state
      • setState

        public void setState​(GHCommitState state)
        Sets the status stage.
        Parameters:
        state - status state
      • getCommit

        public GHCommit getCommit()
        Gets the commit associated with the status event.
        Returns:
        commit
      • setCommit

        public void setCommit​(GHCommit commit)
        Sets the commit associated with the status event.
        Parameters:
        commit - commit