Class ExtensionPointConfig<S>

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

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

    • builder

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

      public static ExtensionPointConfig<ch.raffael.meldioc.ExtensionPoint> of(ch.raffael.meldioc.ExtensionPoint annotation)
    • 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>
    • fromAcceptorAnnotation

      public abstract boolean fromAcceptorAnnotation()
    • removeFromAcceptorIfApplicable

      public static <E, T extends io.vavr.collection.Traversable<E>> T removeFromAcceptorIfApplicable(T configs)
    • withSource

      ExtensionPointConfig<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
    • withFromAcceptorAnnotation

      ExtensionPointConfig<S> withFromAcceptorAnnotation(boolean value)
      Copy the current immutable object by setting a value for the fromAcceptorAnnotation attribute. A value equality check is used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for fromAcceptorAnnotation
      Returns:
      A modified copy of the this object