Interface FeatureExtensionBuilder


  • @ProviderType
    public interface FeatureExtensionBuilder
    A builder for Feature Model FeatureExtension objects.
    • Method Detail

      • setJSON

        FeatureExtensionBuilder setJSON​(java.lang.String json)
        Add JSON in String form to the extension. Can only be called for extensions of type FeatureExtension.Type.JSON.
        Parameters:
        json - The JSON to be added.
        Returns:
        This builder.
      • build

        FeatureExtension build()
        Build the Extension. Can only be called once on a builder. After calling this method the current builder instance cannot be used any more.
        Returns:
        The Extension.