Class FeatureConfig<S>

java.lang.Object
ch.raffael.meldioc.model.config.ElementConfig<S>
ch.raffael.meldioc.model.config.FeatureConfig<S>

public abstract class FeatureConfig<S> extends ElementConfig<S>
  • Method Details

    • builder

      public static <S> FeatureConfig.Builder<S> builder()
    • of

      public static FeatureConfig<ch.raffael.meldioc.Feature> of(ch.raffael.meldioc.Feature annotation)
    • extensionPoints

      public abstract io.vavr.collection.Seq<ClassRef> extensionPoints()
    • type

      public final ModelAnnotationType type()
      Specified by:
      type in class ElementConfig<S>
    • valueMap

      public io.vavr.collection.Map<String,Object> valueMap()
      Specified by:
      valueMap in class ElementConfig<S>
    • withSource

      FeatureConfig<S> withSource(S value)
      Copy the current immutable object by setting a value for the source attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for source
      Returns:
      A modified copy of the this object
    • withExtensionPoints

      FeatureConfig<S> withExtensionPoints(io.vavr.collection.Seq<ClassRef> value)
      Copy the current immutable object by setting a value for the extensionPoints attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for extensionPoints
      Returns:
      A modified copy of the this object