Interface FeatureAgent.FeatureBuilder

Enclosing interface:
FeatureAgent

public static interface FeatureAgent.FeatureBuilder
A builder for creating a new feature descriptor.
Since:
5.2.1203
See Also:
  • Method Details

    • create

      @NotNull @NotNull FeatureDescriptor create()
      Create a new feature descriptor with the current settings.
      Returns:
      A new feature descriptor with the current settings.
      Since:
      5.2.1203
    • useRelease

      @NotNull @NotNull FeatureAgent.FeatureBuilder useRelease(boolean value)
      Should the feature descriptor deliver the release or current version of elements.
      Parameters:
      value - true for "release" and false for current version of elements.
      Returns:
      This factory instance.
      Since:
      5.2.1203
      See Also:
    • useRevision

      @NotNull @NotNull FeatureAgent.FeatureBuilder useRevision(@NotNull @NotNull Revision revision)
      Set the revision the new feature descriptor should operate in.
      Parameters:
      revision - Revision to use.
      Returns:
      This factory instance.
      Since:
      5.2.1203
      See Also:
    • useRevision

      @NotNull @NotNull FeatureAgent.FeatureBuilder useRevision(@NotNull @NotNull Date date)
      Set the date of the revision the new feature descriptor should operate in. The revision will be the latest revision with a creation time less or equal to the provided date.
      Parameters:
      date - Date to use.
      Returns:
      This factory instance.
      Since:
      5.2.1203
      See Also:
    • useLatestRevision

      @NotNull @NotNull FeatureAgent.FeatureBuilder useLatestRevision()
      Set the revision the new feature descriptor should operate in to the newest project revision which is currently available.
      Returns:
      This factory instance.
      Since:
      5.2.1203
      See Also: