Class ProjectionConfig.Builder

    • Method Detail

      • setAbstract

        public ProjectionConfig.Builder setAbstract​(boolean isAbstract)
        Sets the abstract property of the projection.

        Abstract projections do not directly create any artifacts.

        Parameters:
        isAbstract - Set to true to mark as abstract.
        Returns:
        Returns the builder.
      • imports

        public ProjectionConfig.Builder imports​(java.util.Collection<java.lang.String> imports)
        Replaces the imports of the projection.
        Parameters:
        imports - Imports to set.
        Returns:
        Returns the builder.
      • transforms

        public ProjectionConfig.Builder transforms​(java.util.Collection<TransformConfig> transforms)
        Replaces the transforms of the projection.
        Parameters:
        transforms - Transform to set.
        Returns:
        Returns the builder.
      • plugins

        public ProjectionConfig.Builder plugins​(java.util.Map<java.lang.String,​ObjectNode> plugins)
        Replaces the plugins of the projection.
        Parameters:
        plugins - Map of plugin name to plugin settings.
        Returns:
        Returns the builder.