Interface PackageOriginRestrictions.Builder

    • Method Detail

      • publish

        PackageOriginRestrictions.Builder publish​(String publish)

        The package origin configuration that determines if new versions of the package can be published directly to the repository.

        Parameters:
        publish - The package origin configuration that determines if new versions of the package can be published directly to the repository.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AllowPublish, AllowPublish
      • publish

        PackageOriginRestrictions.Builder publish​(AllowPublish publish)

        The package origin configuration that determines if new versions of the package can be published directly to the repository.

        Parameters:
        publish - The package origin configuration that determines if new versions of the package can be published directly to the repository.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AllowPublish, AllowPublish
      • upstream

        PackageOriginRestrictions.Builder upstream​(String upstream)

        The package origin configuration that determines if new versions of the package can be added to the repository from an external connection or upstream source.

        Parameters:
        upstream - The package origin configuration that determines if new versions of the package can be added to the repository from an external connection or upstream source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AllowUpstream, AllowUpstream
      • upstream

        PackageOriginRestrictions.Builder upstream​(AllowUpstream upstream)

        The package origin configuration that determines if new versions of the package can be added to the repository from an external connection or upstream source.

        Parameters:
        upstream - The package origin configuration that determines if new versions of the package can be added to the repository from an external connection or upstream source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AllowUpstream, AllowUpstream