Class MountConfig<S>

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

public abstract class MountConfig<S> extends ElementConfig<S>
  • Field Details

  • Method Details

    • builder

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

      public static MountConfig<ch.raffael.meldioc.Feature.Mount> of(ch.raffael.meldioc.Feature.Mount annotation)
    • injected

      public abstract boolean injected()
    • 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

      MountConfig<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
    • withInjected

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