Interface PackageDescription.Builder

    • Method Detail

      • format

        PackageDescription.Builder format​(String format)

        A format that specifies the type of the package.

        Parameters:
        format - A format that specifies the type of the package.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PackageFormat, PackageFormat
      • namespace

        PackageDescription.Builder namespace​(String namespace)

        The namespace of the package. The package component that specifies its namespace depends on its type. For example:

        • The namespace of a Maven package is its groupId.

        • The namespace of an npm package is its scope.

        • Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.

        • The namespace of a generic package is its namespace.

        Parameters:
        namespace - The namespace of the package. The package component that specifies its namespace depends on its type. For example:

        • The namespace of a Maven package is its groupId.

        • The namespace of an npm package is its scope.

        • Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.

        • The namespace of a generic package is its namespace.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        PackageDescription.Builder name​(String name)

        The name of the package.

        Parameters:
        name - The name of the package.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • originConfiguration

        PackageDescription.Builder originConfiguration​(PackageOriginConfiguration originConfiguration)

        The package origin configuration for the package.

        Parameters:
        originConfiguration - The package origin configuration for the package.
        Returns:
        Returns a reference to this object so that method calls can be chained together.