Interface VersionPolicy.Builder

  • Method Details

    • updateStrategy

      VersionPolicy.Builder updateStrategy(String updateStrategy)

      The update strategy to use when a new extension version is available.

      Parameters:
      updateStrategy - The update strategy to use when a new extension version is available.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • updateStrategy

      VersionPolicy.Builder updateStrategy(UpdateStrategy updateStrategy)

      The update strategy to use when a new extension version is available.

      Parameters:
      updateStrategy - The update strategy to use when a new extension version is available.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • versionSelector

      VersionPolicy.Builder versionSelector(String versionSelector)

      An optional version selector that constrains which versions are eligible. If the strategy is AUTOMATIC, this allows limiting updates to patches within a minor version. When MANUAL, the value must correspond to a specific Extension version

      Parameters:
      versionSelector - An optional version selector that constrains which versions are eligible. If the strategy is AUTOMATIC, this allows limiting updates to patches within a minor version. When MANUAL, the value must correspond to a specific Extension version
      Returns:
      Returns a reference to this object so that method calls can be chained together.