Interface Webhook.DefinitionStages.WithRepositoriesScope<ParentT>

  • Type Parameters:
    ParentT - the stage of the parent definition to return to after attaching this definition
    All Known Subinterfaces:
    Webhook.DefinitionStages.WithAttach<ParentT>, Webhook.WebhookDefinition<ParentT>
    Enclosing interface:
    Webhook.DefinitionStages

    public static interface Webhook.DefinitionStages.WithRepositoriesScope<ParentT>
    The stage of the webhook definition allowing to specify the scope of repositories where the event can be triggered.
    • Method Detail

      • withRepositoriesScope

        Webhook.DefinitionStages.WithAttach<ParentT> withRepositoriesScope​(String repositoriesScope)
        Specifies the scope of repositories where the event can be triggered.

        For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest', empty means all events.

        Parameters:
        repositoriesScope - the scope of repositories where the event can be triggered; empty means all events
        Returns:
        the next stage of the definition