Interface CreateEvent

  • All Superinterfaces:
    BaseEvent
    All Known Implementing Classes:
    ImmutableCreateEvent

    @Immutable
    public interface CreateEvent
    extends BaseEvent
    Represents a created repository, branch, or tag.
    • Method Detail

      • ref

        @Nullable
        String ref()
        The git ref (or null if only a repository was created).
      • refType

        @Nullable
        String refType()
        The object that was created. Can be one of "repository", "branch", or "tag"
      • masterBranch

        @Nullable
        String masterBranch()
        The name of the repository's default branch (usually master).
      • description

        @Nullable
        Optional<String> description()
        The repository's current description.
      • pusherType

        @Nullable
        String pusherType()
        No doc found on github - Usually is "user".