Interface Webhook.UpdateDefinitionStages.WithRepositoriesScope<ParentT>

    • Method Detail

      • withRepositoriesScope

        Webhook.UpdateDefinitionStages.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