Class ConfigurationConfig<S>

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

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

  • Method Details

    • mount

      public abstract io.vavr.collection.Seq<ClassRef> mount()
    • shellName

      public abstract String shellName()
    • packageLocal

      public abstract boolean packageLocal()
    • builder

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

      public static ConfigurationConfig<ch.raffael.meldioc.Configuration> of(ch.raffael.meldioc.Configuration annotation)
    • shellClassRef

      public ClassRef shellClassRef(String packageName, String simpleName)
    • 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

      ConfigurationConfig<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
    • withMount

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

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

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