Package ch.raffael.meldioc.model.config
Class FeatureConfig<S>
java.lang.Object
ch.raffael.meldioc.model.config.ElementConfig<S>
ch.raffael.meldioc.model.config.FeatureConfig<S>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic <S> FeatureConfig.Builder<S>builder()abstract io.vavr.collection.Seq<ClassRef>static FeatureConfig<ch.raffael.meldioc.Feature>of(ch.raffael.meldioc.Feature annotation) final ModelAnnotationTypetype()valueMap()withExtensionPoints(io.vavr.collection.Seq<ClassRef> value) Copy the current immutable object by setting a value for theextensionPointsattribute.withSource(S value) Copy the current immutable object by setting a value for thesourceattribute.Methods inherited from class ch.raffael.meldioc.model.config.ElementConfig
displayName, isConfigType, of, source, valueMapWithoutDefaults
-
Method Details
-
builder
-
of
-
extensionPoints
-
type
- Specified by:
typein classElementConfig<S>
-
valueMap
- Specified by:
valueMapin classElementConfig<S>
-
withSource
Copy the current immutable object by setting a value for thesourceattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for source- Returns:
- A modified copy of the
thisobject
-
withExtensionPoints
Copy the current immutable object by setting a value for theextensionPointsattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for extensionPoints- Returns:
- A modified copy of the
thisobject
-